From 9e5b40735fe98637e71c72db1d5f25e0381524f1 Mon Sep 17 00:00:00 2001 From: Mihail Badoiu Date: Mon, 4 Mar 2024 03:24:21 +0200 Subject: [PATCH] missing timestamp format in ready-to-use-pattern example (#2421) --- 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