This commit is contained in:
Trent Mick 2012-02-06 15:29:22 -08:00
parent 969ac69540
commit fd2bd3f77f

View file

@ -1,3 +1,4 @@
- document streams better in the readme
- buffered writes to increase speed: Yunong said he'd work on a patch: - buffered writes to increase speed: Yunong said he'd work on a patch:
- perhaps this would be a "buffered: true" option on the stream object - perhaps this would be a "buffered: true" option on the stream object
- then wrap the "stream" with a local class that handles the buffering - then wrap the "stream" with a local class that handles the buffering
@ -17,6 +18,8 @@
# someday/maybe # someday/maybe
- `log.close` to close streams and shutdown and `this.closed`
process.on('exit', log.close)
- bunyan cli: -c COND args a la json - bunyan cli: -c COND args a la json
- bunyan cli: more layouts (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/EnhancedPatternLayout.html) - 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 Custom log formats (in config file? in '-f' arg) using printf or hogan.js
@ -35,7 +38,6 @@
- bunyan "compact" or "light", '-l'? Something like. Or pehaps this (with - bunyan "compact" or "light", '-l'? Something like. Or pehaps this (with
color) could be the default, with '-l' for long output. color) could be the default, with '-l' for long output.
13:51.340 [src.js:20#Wuzzle.woos] WARN: This wuzzle is woosey. 13:51.340 [src.js:20#Wuzzle.woos] WARN: This wuzzle is woosey.
- `log.close` to close streams and shutdown and `this.closed`
- get Mark to show me dtrace provider stuff and consider adding for - get Mark to show me dtrace provider stuff and consider adding for
logging, if helpful. logging, if helpful.
- add option to "streams" to take the raw object, not serialized. - add option to "streams" to take the raw object, not serialized.