Skip to content

Commit

Permalink
Merge pull request #1192 from choinker/update-api-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners authored Oct 26, 2021
2 parents df5b19b + c682641 commit f19a27f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ Default: `pino.destination(1)` (STDOUT)
The `destination` parameter, at a minimum must be an object with a `write` method.
An ordinary Node.js `stream` can be passed as the destination (such as the result
of `fs.createWriteStream`) but for peak log writing performance it is strongly
recommended to use `pino.destination` to create the destination stream.
recommended to use `pino.destination` to create the destination stream.
Note that the `destination` parameter can be the result of `pino.transport()`.
```js
// pino.destination(1) by default
Expand Down

0 comments on commit f19a27f

Please sign in to comment.