File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1230,7 +1230,7 @@ log.info('this will be written to /tmp/debug.stream.out and /tmp/info.stream.out
12301230log .fatal (' this will be written to /tmp/debug.stream.out, /tmp/info.stream.out and /tmp/fatal.stream.out' )
12311231` ` `
12321232
1233- In order for ` multistream` to work, the log level __must__ be set to the lowest level used in the streams array.
1233+ In order for ` multistream` to work, the log level __must__ be set to the lowest level used in the streams array. Default is ` info ` .
12341234
12351235#### Options
12361236
@@ -1244,7 +1244,7 @@ In order for `multistream` to work, the log level __must__ be set to the lowest
12441244 var pino = require (' pino' )
12451245 var multistream = pino .multistream
12461246 var streams = [
1247- {stream: process .stdout },
1247+ {level : ' debug ' , stream: process .stdout },
12481248 {level: ' error' , stream: process .stderr },
12491249 ]
12501250
You can’t perform that action at this time.
0 commit comments