Skip to content

Commit

Permalink
feat(logger): change log.TimestampKey to ts
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Jan 20, 2024
1 parent 2019112 commit 2a7e9da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ func New() *log.Logger {

logger.SetStyles(styles)

log.TimestampKey = "ts"

return logger
}

0 comments on commit 2a7e9da

Please sign in to comment.