mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 03:58:55 +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.MessageKey = "msg"
|
||||||
c.LevelKey = "level"
|
c.LevelKey = "level"
|
||||||
c.TimeKey = "time"
|
c.TimeKey = "time"
|
||||||
|
c.CallerKey = "caller"
|
||||||
|
|
||||||
var fileEncoder zapcore.Encoder
|
var fileEncoder zapcore.Encoder
|
||||||
if isJson {
|
if isJson {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user