Skip to content

Commit

Permalink
Update docs/api.md
Browse files Browse the repository at this point in the history
Co-authored-by: James Sumners <james@sumners.email>
  • Loading branch information
mcollina and jsumners committed Sep 13, 2021
1 parent 377e4f2 commit e4f1c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -1076,7 +1076,7 @@ In order for `multistream` to work, the log level __must__ be set to the lowest
+ `dedupe`: Set this to `true` to send logs only to the stream with the higher level. Default: `false`
`dedupe` flag can be useful for example when using pino.multistream to redirect `error` logs to `process.stderr` and others to `process.stdout`:
`dedupe` flag can be useful for example when using `pino.multistream` to redirect `error` logs to `process.stderr` and others to `process.stdout`:
```js
var pino = require('pino')
Expand Down

0 comments on commit e4f1c7d

Please sign in to comment.