Skip to content

Commit

Permalink
zapcore.WarnLevel修改成zapcore.ErrorLevel (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
fakerwjs committed Dec 19, 2023
1 parent 722fe55 commit 4c77831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/config/zap.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (z *Zap) TransportLevel() zapcore.Level {
case "warn":
return zapcore.WarnLevel
case "error":
return zapcore.WarnLevel
return zapcore.ErrorLevel
case "dpanic":
return zapcore.DPanicLevel
case "panic":
Expand Down

0 comments on commit 4c77831

Please sign in to comment.