Commit Graph

4 Commits (9c8f4e107af9d3bc612a6f68876f118bd3e04e87)

Author SHA1 Message Date
Trent Mick 140c9fda91 s/service/name/ for Logger name field. "service" is unnecessarily tied to usage for a service.
No need to differ from log4j Logger "name".
2012-02-06 15:13:50 -08:00
Trent Mick 543ef15b84 'log.info(err)' support 2012-02-06 09:10:11 -08:00
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