Merge branch 'master' of github.com:trentm/node-bunyan
This commit is contained in:
commit
42d149e167
2 changed files with 14 additions and 12 deletions
|
@ -25,7 +25,7 @@ var log = new Logger({
|
|||
name: 'raw-example',
|
||||
streams: [
|
||||
{
|
||||
level: "info",
|
||||
level: 'info',
|
||||
stream: new MyRawStream(),
|
||||
raw: true
|
||||
},
|
||||
|
|
|
@ -23,10 +23,12 @@ test('raw stream', function (t) {
|
|||
|
||||
var log = new Logger({
|
||||
name: 'raw-stream-test',
|
||||
streams: [{
|
||||
streams: [
|
||||
{
|
||||
stream: new CapturingStream(recs),
|
||||
raw: true
|
||||
}]
|
||||
}
|
||||
]
|
||||
});
|
||||
log.info('first');
|
||||
log.info({two: 'deux'}, 'second');
|
||||
|
|
Loading…
Reference in a new issue