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',
|
name: 'raw-example',
|
||||||
streams: [
|
streams: [
|
||||||
{
|
{
|
||||||
level: "info",
|
level: 'info',
|
||||||
stream: new MyRawStream(),
|
stream: new MyRawStream(),
|
||||||
raw: true
|
raw: true
|
||||||
},
|
},
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue