Skip to content

Commit 4c77831

Browse files
authored
zapcore.WarnLevel修改成zapcore.ErrorLevel (flipped-aurora#1602)
1 parent 722fe55 commit 4c77831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/config/zap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (z *Zap) TransportLevel() zapcore.Level {
4747
case "warn":
4848
return zapcore.WarnLevel
4949
case "error":
50-
return zapcore.WarnLevel
50+
return zapcore.ErrorLevel
5151
case "dpanic":
5252
return zapcore.DPanicLevel
5353
case "panic":

0 commit comments

Comments
 (0)