Commit graph

2 commits

Author SHA1 Message Date
Trent Mick
6806112d8a - log.clone -> log.child to better reflect the relationship: streams and
serializers are inherited. Streams can't be removed as part of the child
  creation. The child doesn't own the parent's streams (so can't close them).
- Clean up Logger creation. The goal here was to ensure `log.child` usage
  is fast. TODO: measure that.
- Add `Logger.stdSerializers.err` serializer which is necessary to get good
  Error object logging with node 0.6 (where core Error object properties
  are non-enumerable).
2012-02-04 00:08:37 -08:00
Trent Mick
7d3431eeb6 res (HTTP server response) serializer; some cleanup; 'err.js' example;
Also add req/res/err details to `bunyan` tool default output mode.
2012-02-01 21:33:24 -08:00