Commit Graph

42 Commits (8e24554be4518260638bb8f65252434759129234)

Author SHA1 Message Date
Trent Mick 48357d1379 screenshot 2012-06-21 23:02:35 -07:00
Trent Mick 6be21f1d04 don't lie, really only support 0.6+, tho currently 0.4 mostly passes the test suite 2012-06-21 20:03:29 -07:00
Trent Mick 1eed1fac19 use RingBuffer.records instead of RingBuffer.enties (related to pull #15) 2012-06-21 14:53:05 -07:00
Trent Mick 37a1447f22 per issue #8 change the way a raw stream is handled
"raw" is now a stream "type" isntead of a separate attribute. The
idea is that writing raw objects (instead of JSON-stringified stings)
to, e.g. a file WriteStream isn't useful. So, lets re-use the stream
"type" field instead of an additional "raw" field.
2012-06-21 14:49:04 -07:00
Trent Mick 9f8281e651 changelog entries for dap's additions 2012-06-20 17:02:43 -07:00
Dave Pacheco b378560eac use raw stream support 2012-06-20 16:26:28 -07:00
Dave Pacheco b0daeb6706 Merge branch 'master' of github.com:trentm/node-bunyan 2012-06-20 16:20:54 -07:00
Trent Mick c5ba5c0147 support for 'raw' streams 2012-06-20 16:04:23 -07:00
Dave Pacheco f1996fccef add ring buffer stream 2012-06-19 14:44:50 -07:00
Trent Mick cb6e84921e add warning about `log.info(myobj)` as both Yunong and Orlando have hit this (at least) 2012-06-18 12:08:48 -07:00
Trent Mick 7931359589 pull #21: tweak readme 2012-06-04 23:37:07 -07:00
Evan Oxfeld 632379030e Re-emit fs.createWriteStream errors 2012-06-04 23:23:12 -04:00
Trent Mick c7d5f8b240 [issue #12] Add `bunyan.createLogger(OPTIONS)` form, as is more typical in node.js APIs.
This'll eventually become the preferred form.
2012-04-27 16:20:57 -07:00
Trent Mick bdc55f030a issue #10: correct readme examples to have the requisite 'pid' field 2012-03-30 14:56:07 -07:00
Trent Mick ae6f44db9d bash-bunyan 2012-03-28 14:01:41 -07:00
Trent Mick b91f6967ec can I use an <a> in readme? 2012-03-28 12:18:49 -07:00
Trent Mick cf72fec14d this discussion is just distracting here 2012-03-28 10:54:46 -07:00
Trent Mick 242e37bc88 better desc 2012-03-28 10:48:43 -07:00
Trent Mick 8b3bdef4a9 readme tweaks 2012-03-27 23:00:45 -07:00
Trent Mick c8fe8dac34 tyop. update to latest cutarelease tool 2012-03-16 11:19:54 -07:00
Trent Mick 9feb9c82bd CLI file args: bunyan foo.log bar.log 2012-02-23 21:19:28 -08:00
Trent Mick 0d713a46d8 improve intro to the 'log.info(...)' API 2012-02-17 11:22:14 -08:00
Trent Mick 8efd876403 tweak current status notes 2012-02-16 16:57:09 -08:00
Trent Mick c12a90a511 issue #4: add 'pid' automatic log record field 2012-02-09 21:09:11 -08:00
Trent Mick 18c6fc6cef docs on streams 2012-02-07 10:18:30 -08:00
Trent Mick 25b8eeabc9 Use 10/20/... instead of 1/2/... for level constant values. 2012-02-06 15:23:51 -08:00
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 352c4177b7 Add `log.level(...)` and `log.levels(...)` API for changing logger stream levels. 2012-02-06 15:04:47 -08:00
Trent Mick 543ef15b84 'log.info(err)' support 2012-02-06 09:10:11 -08:00
Trent Mick e934baf74f v0.4: add 'src' call source location info support (the Yunong release) 2012-02-05 20:33:57 -08:00
Trent Mick 9786827579 doc tweaks, GH-markdown workarounds 2012-02-05 19:50:05 -08:00
Trent Mick 40777aaf35 'log.child(..., true)' support for 10x faster with 'simple' field additions 2012-02-04 21:42:47 -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 a475a1ac09 0.2: specing core log record fields (mainly) 2012-02-03 17:05:13 -08:00
Trent Mick 65f1533849 some more package.json data 2012-02-02 15:15:29 -08:00
Trent Mick 8eb2abd15a update readme for serializers 2012-01-31 22:37:43 -08:00
Trent Mick 947e46f877 start serializers support. Add 'req' standard serializer. You can add your own. 2012-01-31 22:36:06 -08:00
Trent Mick 193120a25f "paul" cuteness was annoying me for this 2012-01-31 14:49:53 -08:00
Trent Mick fb1ed4f4ee TODOne 2012-01-31 14:47:06 -08:00
Trent Mick 44d280d688 add TRACE level (use for external libraries). Also, some doc updates. 2012-01-31 14:43:13 -08:00
Trent Mick b3bd83c639 some intro docs 2012-01-30 16:30:05 -08:00
Trent Mick aa166b2f46 first stab. 'log.info(...)' 2012-01-29 22:26:47 -08:00