mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-14 12:30:47 +08:00
Streams don't have a documented 'name' property in 'bunyan'.
This commit is contained in:
1 parent
8be8a5707e
commit
46ddfbb037
1 file changed
+1
-1
@@ -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