From d2058d73960836ae32b0d016da213c546fbd3597 Mon Sep 17 00:00:00 2001 From: Mihail Badoiu Date: Sun, 3 Mar 2024 18:01:43 +0200 Subject: [PATCH] missing timestamp format in ready-to-use-pattern example --- examples/ready-to-use-pattern.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ready-to-use-pattern.ts b/examples/ready-to-use-pattern.ts index 847a20a1b..b42ba0e87 100644 --- a/examples/ready-to-use-pattern.ts +++ b/examples/ready-to-use-pattern.ts @@ -31,6 +31,7 @@ const wLogger = (input: { logName: string; level: string }): winston.Logger => level: `${input.level}`, format: winston.format.combine( + winston.format.timestamp(), winston.format.printf( info => // https://stackoverflow.com/a/69044670/20358783 more detailLocaleString