From eb1e3639900e5462968af5dd801895605d32da93 Mon Sep 17 00:00:00 2001 From: thsmale Date: Fri, 22 Nov 2024 01:32:23 -0800 Subject: [PATCH] add missing parenthesis to transport code example --- docs/transports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/transports.md b/docs/transports.md index 63d591096..a3391f4e0 100644 --- a/docs/transports.md +++ b/docs/transports.md @@ -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