Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kobtea committed Jan 3, 2023
1 parent 5bd8807 commit b1e030c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func initConfig() {
}
defer func() {
if er := logger.Sync(); er != nil {
fmt.Println(er)
// see: https://github.com/uber-go/zap/issues/880
}
}()
zap.ReplaceGlobals(logger)
Expand Down

0 comments on commit b1e030c

Please sign in to comment.