Commit graph

11 commits

Author SHA1 Message Date
Trent Mick
c5ba5c0147 support for 'raw' streams 2012-06-20 16:04:23 -07:00
Trent Mick
7e90e07865 Add test/corpus/*.log files (accidentally excluded) so that test suite works 2012-06-05 17:22:25 -07:00
Trent Mick
858150bbd2 pull #21: some style tweaks, add stream to error event args, test case, example, changelog 2012-06-04 23:13:50 -07:00
Trent Mick
a1c3c17b84 jsstyle clean 2012-04-27 17:40:56 -07: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
6f1433c89b 'make testall' to test against multiple node versions
Change test to look for new ENOENT error message changed in recent
nodes:

      // Note: node v0.6.10:
      //   ENOENT, no such file or directory 'asdf.log'
      // but node v0.6.14:
      //   ENOENT, open 'asdf.log'
      // Somewhat annoying change.
2012-04-10 15:11:55 -07:00
Trent Mick
9feb9c82bd CLI file args: bunyan foo.log bar.log 2012-02-23 21:19:28 -08:00
Trent Mick
40ec83b621 [issue #5] Fix log.info() -> boolean to work properly. Previous all were returning false.
Ditto all trace/debug/.../fatal methods.
2012-02-19 21:42:23 -08:00
Trent Mick
d89444baed Some jsstyle cleaning. 2012-02-10 00:14:33 -08:00
Trent Mick
9f5581b72e issue #3: more type checking of Logger ctor options and log.child options 2012-02-08 10:30:13 -08:00
Trent Mick
450e4eb434 start a test suite 2012-02-08 10:05:56 -08:00