Skip to content

Commit

Permalink
🔧 log debuf level
Browse files Browse the repository at this point in the history
  • Loading branch information
itmisx committed Dec 18, 2024
1 parent 2d3b896 commit db089f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zap_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func newZapLogger(conf Config) zapLogger {
enco := zapcore.NewJSONEncoder(encoderConfig)
var atomicLevel zap.AtomicLevel
if conf.Debug {
atomicLevel = zap.NewAtomicLevelAt(zap.InfoLevel)
atomicLevel = zap.NewAtomicLevelAt(zap.DebugLevel)
} else {
atomicLevel = zap.NewAtomicLevelAt(zap.ErrorLevel)
}
Expand Down

0 comments on commit db089f4

Please sign in to comment.