Commit graph

25 commits

Author SHA1 Message Date
Trent Mick
6fdc5ff209 Style/changelog/readme/test case for "error" event re-emitting.
PR: #318
2016-02-10 23:38:23 -08:00
Trent Mick
6ff1f36abc momentjs: avoid for default fast path; make required only for local time
Make the default (long output format, UTC time) for the bunyan CLI a
fast path that doesn't use moment.js. Admittedly I haven't measured
percentage impact of `moment(rec.time).utc().format(...)` for
many bunyan records.

Also make moment dep *optional*. The bunyan CLI will error out without
the moment dep *only if local time is requested.*
2016-02-10 22:13:01 -08:00
Trent Mick
30fa3da5e9 node-bunyan#252 changelog and test case 2016-02-10 00:03:21 -08:00
Trent Mick
788ad7cefe fix LOG.child(...) to *not* override the "hostname" field of the parent
Fixes #291. Fixes #303.
2016-02-02 23:45:31 -08:00
Trent Mick
2a5e1fc715 Allow one to set level: 0 in createLogger to turn on logging for all levels.
Fixes #325.
2016-02-02 23:12:02 -08:00
Trent Mick
27d60578a9 strict mode
Should fix usage with bundles including bunyan and using strict mode.
Had to fix a surprise effect that 'window === this' is no longer
true in strict mode:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode
"""That means, among other things, that in browsers it's no longer
possible to reference the window object through this inside a strict
mode function."""

Fixes #236, #231, and #223.
2015-09-07 01:21:43 -07:00
Trent Mick
bf994a34b3 fix 'make check'; add some recent authors 2015-09-07 00:29:17 -07:00
Trent Mick
64b8fd1004 test cases for #182, style tweaks, changelog, etc. 2015-01-18 23:27:28 -08:00
Trent Mick
83f33890de added integration with source-map-support for integration with sourcemaps
Style updates, changelog, etc. Fixes #122
2015-01-17 21:15:38 -08:00
Trent Mick
28e52193c6 meta data prepping for release 2015-01-16 23:02:29 -08:00
Trent Mick
980e281096 #185 add some comments, const, Daniel to authors, and changelog 2014-11-17 21:45:41 -08:00
Trent Mick
6684393563 Note Mihai's recent change. 2014-09-27 21:08:35 -07:00
Trent Mick
a3e7081be6 note recent change 2014-08-25 00:40:52 -07:00
Trent Mick
2e1d85a3cb note recent change 2014-08-25 00:20:08 -07:00
Trent Mick
ecf4b8c6a4 Tweak to SIGINT patch from @jnordberg for #161 2014-08-24 23:34:38 -07:00
Trent Mick
660b706479 doc new -c CODE; drop dtrace-provider as optionalDependency (fixes #135); add 'bunyan -0' shortcut 2014-08-01 15:57:48 -07:00
Trent Mick
1ad4a7596f note contributors 2014-05-31 22:28:47 -07:00
Trent Mick
71e5d1be25 note aexmachina's change, style tweaks for make check 2014-05-28 23:35:56 -07:00
Trent Mick
fc0150f9fb [issue #85] Ensure logging a non-object/non-string doesn't throw 2014-05-28 23:24:57 -07:00
Trent Mick
8732764c67 issue #48: changelog, add Bryan to AUTHORS, basic dtrace test suite
The test suite for this is a bit finnicky because root rights are
required to run dtrace. By default we run the dtrace.test.js file
with 'sudo'. Use this to skip the dtrace tests:
    SKIP_DTRACE=1 make test

Note taht 'make test09' is busted because dtrace-provider seems
busted with node 0.9.1 at least.
2012-10-31 23:52:53 -07:00
Trent Mick
1a9e712dbc [issue #34] body et al in request/response output by bunyan CLI
Ensure `req.body`, `res.body` and other request/response
fields are emitted by the `bunyan` CLI (mostly by Rob Gulewich).
2012-08-21 11:04:33 -07:00
Trent Mick
33867b7473 add isaac 2012-08-07 23:00:35 -07:00
Trent Mick
27a035fc6e rev to 0.10.0 and add changelog for mhart's gzip addition 2012-06-21 22:49:04 -07:00
Trent Mick
9f8281e651 changelog entries for dap's additions 2012-06-20 17:02:43 -07:00
Trent Mick
e9724e9a54 rename for npm to pick up for "contributors" section 2012-04-23 22:02:32 -07:00
Renamed from AUTHORS.txt (Browse further)