Merge branch 'master' of github.com:trentm/node-bunyan

This commit is contained in:
Dave Pacheco 2012-06-20 16:28:47 -07:00
commit 42d149e167
2 changed files with 14 additions and 12 deletions

View file

@ -25,7 +25,7 @@ var log = new Logger({
name: 'raw-example', name: 'raw-example',
streams: [ streams: [
{ {
level: "info", level: 'info',
stream: new MyRawStream(), stream: new MyRawStream(),
raw: true raw: true
}, },

View file

@ -23,10 +23,12 @@ test('raw stream', function (t) {
var log = new Logger({ var log = new Logger({
name: 'raw-stream-test', name: 'raw-stream-test',
streams: [{ streams: [
{
stream: new CapturingStream(recs), stream: new CapturingStream(recs),
raw: true raw: true
}] }
]
}); });
log.info('first'); log.info('first');
log.info({two: 'deux'}, 'second'); log.info({two: 'deux'}, 'second');