优化日志堆栈输出
This commit is contained in:
parent
030eb04f44
commit
f51cd352f1
@ -194,6 +194,7 @@ func (this *Logger) check(level Loglevel, msg string, args ...Field) (entry *Ent
|
|||||||
entry.Caller.File = frame.File
|
entry.Caller.File = frame.File
|
||||||
entry.Caller.Line = frame.Line
|
entry.Caller.Line = frame.Line
|
||||||
entry.Caller.Function = frame.Function
|
entry.Caller.Function = frame.Function
|
||||||
|
entry.Caller.Stack = ""
|
||||||
}
|
}
|
||||||
if addStack {
|
if addStack {
|
||||||
buffer := pools.BufferPoolGet()
|
buffer := pools.BufferPoolGet()
|
||||||
|
Loading…
Reference in New Issue
Block a user