mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
zap
This commit is contained in:
parent
554c0961c1
commit
7dd93aa395
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user