mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 19:46:57 +08:00
caller
This commit is contained in:
parent
111fbdcccf
commit
3fa96b0700
@ -131,7 +131,7 @@ func customCallerEncoder(caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayE
|
|||||||
enc.AppendString("\x1b[32m")
|
enc.AppendString("\x1b[32m")
|
||||||
enc.AppendString(caller.Function)
|
enc.AppendString(caller.Function)
|
||||||
enc.AppendString(":")
|
enc.AppendString(":")
|
||||||
enc.AppendInt(int64(caller.Line))
|
enc.AppendInt(caller.Line)
|
||||||
enc.AppendString("\x1b[0m")
|
enc.AppendString("\x1b[0m")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user