Skip to content

Commit 2a7e9da

Browse files
committed
feat(logger): change log.TimestampKey to ts
Signed-off-by: Dwi Siswanto <me@dw1.io>
1 parent 2019112 commit 2a7e9da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/logger/logger.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ func New() *log.Logger {
2525

2626
logger.SetStyles(styles)
2727

28+
log.TimestampKey = "ts"
29+
2830
return logger
2931
}

0 commit comments

Comments
 (0)