conversation update

This commit is contained in:
Gordon
2023-03-16 15:10:23 +08:00
parent 38d3c5d94d
commit ce87ef0a04
2 changed files with 13 additions and 1 deletions
+1
View File
@@ -77,6 +77,7 @@ func (l *ZapLogger) cores() (zap.Option, error) {
c := zap.NewProductionEncoderConfig()
c.EncodeTime = zapcore.ISO8601TimeEncoder
c.EncodeDuration = zapcore.SecondsDurationEncoder
c.EncodeLevel = zapcore.CapitalLevelEncoder
c.MessageKey = "msg"
c.LevelKey = "level"
c.TimeKey = "time"