mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 22:39:18 +08:00
zap
This commit is contained in:
@@ -101,6 +101,7 @@ func (l *ZapLogger) cores(isStdout bool, isJson bool, logLocation string, rotate
|
||||
c.MessageKey = "msg"
|
||||
c.LevelKey = "level"
|
||||
c.TimeKey = "time"
|
||||
c.CallerKey = "caller"
|
||||
|
||||
var fileEncoder zapcore.Encoder
|
||||
if isJson {
|
||||
|
||||
Reference in New Issue
Block a user