Skip to content

Commit 9e5b407

Browse files
authoredMar 4, 2024··
missing timestamp format in ready-to-use-pattern example (#2421)
1 parent 4a85e6b commit 9e5b407

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎examples/ready-to-use-pattern.ts

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const wLogger = (input: { logName: string; level: string }): winston.Logger =>
3131
level: `${input.level}`,
3232

3333
format: winston.format.combine(
34+
winston.format.timestamp(),
3435
winston.format.printf(
3536
info =>
3637
// https://stackoverflow.com/a/69044670/20358783 more detailLocaleString

0 commit comments

Comments
 (0)
Please sign in to comment.