diff --git a/docs/transports.md b/docs/transports.md index 9d6e04bb3..52ea4b9b6 100644 --- a/docs/transports.md +++ b/docs/transports.md @@ -200,7 +200,7 @@ export default async function (options) { chunk.service = 'pino' // stringify the payload again - this.push(JSON.stringify(chunk)) + this.push(`${JSON.stringify(chunk)}\n`) cb() } })