Skip to content

Commit

Permalink
Add milliseconds timestamp for debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
Djadih committed May 30, 2023
1 parent c5171c4 commit c004b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func ConfigureLogger(ctx *cli.Context) {
ForceColors: ctx.GlobalBool("showcolors"),
PadLevelText: true,
FullTimestamp: true,
TimestampFormat: "01-02|15:04:05",
TimestampFormat: "01-02|15:04:05.999",
CallerPrettyfier: callerPrettyfier,
}

Expand Down

0 comments on commit c004b94

Please sign in to comment.