From 3649708f364179d0f8022eab4797a04f8e1f441a Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Mon, 6 Feb 2012 21:35:19 -0800 Subject: [PATCH] note issue #2 for this --- CHANGES.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 05b5e09..6f4a527 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,10 +2,10 @@ ## bunyan 0.5.1 (not yet released) -- Add guard on `JSON.stringify`ing of log records before emission. This will - prevent `log.info` et al throwing on record fields that cannot be - represented as JSON. An error will be printed on stderr and a clipped - log record emitted with a 'bunyanMsg' key including error details. E.g.: +- [issue #2] Add guard on `JSON.stringify`ing of log records before emission. + This will prevent `log.info` et al throwing on record fields that cannot be + represented as JSON. An error will be printed on stderr and a clipped log + record emitted with a 'bunyanMsg' key including error details. E.g.: bunyan: ERROR: could not stringify log record from /Users/trentm/tm/node-bunyan/examples/unstringifyable.js:12: TypeError: Converting circular structure to JSON { @@ -22,7 +22,7 @@ $ node tools/timeguard.js # after Time try/catch-guard on JSON.stringify: - log.info: 0.07368ms per iteration - + ## bunyan 0.5.0