From aedf66663f484d366ab1863e38bdcb0024ca8e34 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Mon, 30 Jan 2012 17:17:39 -0800 Subject: [PATCH] TODOs from feedback --- TODO.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 96db861..20df4e2 100644 --- a/TODO.md +++ b/TODO.md @@ -1,14 +1,17 @@ +- add `clone` to readme - renderer support (i.e. repr of a restify request obj) - expand set of fields: from dap time, hostname require: facility and hostname - line/file: possible to get quickly with v8? -- bunyan cli: more layouts (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html) + line/file: possible to get quickly with v8? Yunong asked. +- bunyan cli: more layouts (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/EnhancedPatternLayout.html) + Custom log formats (in config file? in '-f' arg) using printf or hogan.js + or whatever. Dap wants field width control for lining up. Hogan.js is + probably overkill for this. - bunyan cli: filter args a la json - bunyan cli: -c COND args a la json -- docs - mark wants pretty output for debug output - not sure if 'bunyan --pretty' or whatever would suffice - ringBuffer stream @@ -27,4 +30,7 @@ - Logger.set to mutate config or `this.fields` - Logger.del to remove a field - "canWrite" handling for full streams. Need to buffer a la log4js -- test suite +- test suite: + - test for a cloned logger double-`stream.end()` causing problems. + Perhaps the "closeOnExit" for existing streams should be false for + clones.