Commit graph

58 commits

Author SHA1 Message Date
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