mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
Streams don't have a documented 'name' property in 'bunyan'.
This commit is contained in:
@@ -57,7 +57,7 @@ var log = bunyan.createLogger(options);
|
||||
log.addSerializers(bunyan.stdSerializers);
|
||||
var child = log.child({name: 'child'});
|
||||
child.reopenFileStreams();
|
||||
log.addStream({path: '/dev/null', name: 'stream1'});
|
||||
log.addStream({path: '/dev/null'});
|
||||
child.level(bunyan.DEBUG);
|
||||
child.level('debug');
|
||||
child.levels(0, bunyan.ERROR);
|
||||
|
||||
Reference in New Issue
Block a user