From 9046f20cb6b8676b91e638d45c60a9f1d2ca663e Mon Sep 17 00:00:00 2001 From: Michele Ursino Date: Thu, 30 Oct 2014 03:42:12 +0000 Subject: [PATCH] Allows to pass a generic Object to Logger.child() - see https://github.com/trentm/node-bunyan#logchild --- bunyan/bunyan.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bunyan/bunyan.d.ts b/bunyan/bunyan.d.ts index d26049bc36..3c780c48e4 100644 --- a/bunyan/bunyan.d.ts +++ b/bunyan/bunyan.d.ts @@ -15,6 +15,7 @@ declare module "bunyan" { addStream(stream:Stream):void; addSerializers(serializers:Serializers):void; child(options:LoggerOptions, simple?:boolean):Logger; + child(obj:Object, simple?:boolean):Logger; reopenFileStreams():void; level(value:any /* number | string */):void;