Commit graph

643 commits

Author SHA1 Message Date
Trent Mick
ecf4b8c6a4 Tweak to SIGINT patch from @jnordberg for #161 2014-08-24 23:34:38 -07:00
Trent Mick
96b9f35019 Merge pull request #161 from jnordberg/ignore-sigint
Ignore SIGINT when processing stdin
2014-08-24 23:21:30 -07:00
Johan Nordberg
e899ecbf92 Ignore SIGINT when processing stdin
Fixes #126
2014-08-17 13:22:01 +02:00
Trent Mick
26a8bb02a4 Bright black "hides" some bunyan CLI styled text when using Solarized Dark theme
fixes #160
2014-08-10 00:36:55 -07:00
Ryan Graham
6b44120d53 test: make throw tests validate was is thrown
When the second argument to nodeunit's assert.throws() is a string it
is used as the failure message, not for exception message matching.

To assert the contents of the exception's message a RegExp must be
used.
2014-08-08 18:28:40 -07:00
Ryan Graham
c3b8dd26a7 Fix parent instanceof guard
The ! operator is higher priority than the instanceof operator, so the
expression (! this instanceof X) is the same as ((!this) instanceof X),
which will always evaluate to false.
2014-08-08 18:28:29 -07:00
Ryan Graham
e4ea3fb05f test: ensure parent type guard is working 2014-08-08 18:28:25 -07:00
Ryan Graham
58df808325 Fix ctor instanceof guard
The ! operator is higher priority than the instanceof operator, so the
expression (! this instanceof X) is the same as ((!this) instanceof X),
which will always evaluate to false.
2014-08-08 18:26:07 -07:00
Ryan Graham
e8aec58222 test: add test for instanceof ctor guard 2014-08-08 18:25:53 -07:00
Trent Mick
dacdd080dc add note about separate dtrace-provider installation necessity 2014-08-01 16:38:33 -07:00
Trent Mick
76bc7acca4 prep for future dev 2014-08-01 16:01:01 -07:00
Trent Mick
b31cb3be05 prepare for 1.0.0 release 2014-08-01 16:00:56 -07:00
Trent Mick
48cb962f53 tweak 2014-08-01 15:58:42 -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
02c1d042e9 Merge pull request #154 from pfmooney/GH-87
Fix #87 - nuke vm.runInNewContext condition filtering
2014-08-01 15:13:13 -07:00
Trent Mick
0c09bddda6 note logentries connector 2014-08-01 10:49:18 -07:00
Patrick Mooney
2ed6df0834 [minor] fix jsstyle issues in example 2014-07-31 20:49:01 -05:00
Patrick Mooney
042e2c0fc9 [issue #87] Kill vm.runInNewContext with fire
Change default condition evaluation from vm.runInNewContext to
eval-style functions.  Use of "naked" variables (pid === 123, etc) no
longer works, making this.<name> variable qualification necessary.
2014-07-31 20:48:31 -05:00
Trent Mick
12eda6036f modernize examples to bunyan.createLogger preference 2014-07-24 23:36:50 -07:00
Trent Mick
e8a4387070 strong comparison 2014-06-30 23:26:39 -07:00
Trent Mick
2c2459df2f #117 add warning about using rotating-file and cluster together 2014-06-01 23:34:50 -07:00
Trent Mick
865cec6a6d prep for future dev 2014-05-31 23:00:25 -07:00
Trent Mick
90d1405198 prepare for 0.23.1 release 2014-05-31 23:00:19 -07:00
Trent Mick
687b16b42c make check 2014-05-31 23:00:13 -07:00
Trent Mick
3c62838c38 fix 'make versioncheck' 2014-05-31 22:58:40 -07:00
Trent Mick
4670906256 skip rotating-file test on node 0.8; warn about rotating-file issues 2014-05-31 22:57:36 -07:00
Trent Mick
1ad4a7596f note contributors 2014-05-31 22:28:47 -07:00
Trent Mick
42e99323ee 'make check' 2014-05-31 22:25:06 -07:00
Trent Mick
7fb58aa5e4 Merge pull request #125 from ascom-au/master
Rotating-file stream prevent process from exiting
2014-05-31 22:17:09 -07:00
Trent Mick
6cdcbf45ec attempt to clarify error *events*, per #124 2014-05-31 22:06:02 -07:00
Trent Mick
118d73e588 Add an example showing how to use raw streams for #130 2014-05-31 21:58:10 -07:00
Trent Mick
af6afa3c31 dump ver in 'make versioncheck' 2014-05-30 21:01:46 -07:00
Trent Mick
67b8bab6c9 prep for future dev 2014-05-30 21:00:24 -07:00
Trent Mick
20ba943daa prepare for 0.23.0 release 2014-05-30 21:00:17 -07:00
Trent Mick
73b3c88477 require check to cut a release 2014-05-30 21:00:09 -07:00
Trent Mick
a6a0a7eb5a make check 2014-05-30 20:59:09 -07:00
Trent Mick
84e9e34b5b note express-bunyan-logger project 2014-05-30 20:58:18 -07:00
Trent Mick
d305801472 [issue #139] Fix bunyan crash on a log record with res.header that is an object. 2014-05-29 00:13:01 -07:00
Trent Mick
71e5d1be25 note aexmachina's change, style tweaks for make check 2014-05-28 23:35:56 -07:00
Trent Mick
dbbfdde3e5 Merge pull request #142 from aexmachina/object-keys-fix
Fix crash from `bunyan` CLI with an `Object.keys called on non-object` message
2014-05-28 23:32:29 -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
Simon Wade
784eb0859f Sending a log message with a non-object value for the req property to the bunyan CLI causes it to crash with an Object.keys called on non-object message. This change fixes that. 2014-05-05 16:50:28 +10:00
Andrei Neculau
334e36cdfd fix #105: export addStream and addSerializers 2014-04-17 14:37:44 +02:00
Trent Mick
7b08dd607d Merge pull request #137 from alexanderGugel/patch-1
drop trailing comma for style
2014-04-14 09:23:07 -07:00
alexanderGugel
f3e0ba6526 fix typo 2014-04-14 10:17:47 +02:00
Trent Mick
9f3ef6b42a prep for future dev 2014-04-10 17:00:33 -07:00
Trent Mick
f89d9435c7 prepare for 0.22.3 release 2014-04-10 17:00:29 -07:00
Trent Mick
111e1424aa bump rev to republish 2014-04-10 17:00:14 -07:00
Trent Mick
69bf207783 Merge pull request #133 from kcivey/patch-1
add `error` to list of log levels in readme
2014-04-09 20:08:19 -07:00
Trent Mick
419bd4dd7c TODO 2014-04-09 20:07:51 -07:00