Skip to content

Commit

Permalink
Log timestamp add milliseconds (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter committed Sep 26, 2024
1 parent d7a61b8 commit ca408b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func InitLog() {
log.SetLevel(level)
log.SetFormatter(&prefixed.TextFormatter{
FullTimestamp: true,
TimestampFormat: "2006-01-02 15:04:05",
TimestampFormat: "2006-01-02 15:04:05.000",
ForceFormatting: true,
})

Expand Down

0 comments on commit ca408b4

Please sign in to comment.