Skip to content

Commit

Permalink
docs: add missing parenthesis to transport code example (#2099)
Browse files Browse the repository at this point in the history
Co-authored-by: thsmale <[email protected]>
  • Loading branch information
thsmale and thsmale authored Nov 22, 2024
1 parent 4ea00c2 commit 806ea86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/transports.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ In case you want to both use a custom transport, and output the log entries with
}
]

const logger = pino(pino.transport({ targets: transports })
const logger = pino(pino.transport({ targets: transports }))
```
### Creating a transport pipeline
Expand Down

0 comments on commit 806ea86

Please sign in to comment.