Skip to content

Commit

Permalink
missing timestamp format in ready-to-use-pattern example (#2421)
Browse files Browse the repository at this point in the history
  • Loading branch information
badoiumihail committed Mar 4, 2024
1 parent 4a85e6b commit 9e5b407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/ready-to-use-pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e5b407

Please sign in to comment.