上传日志堆栈优化
This commit is contained in:
parent
f51cd352f1
commit
eff1855242
@ -199,9 +199,7 @@ func (this *Logger) check(level Loglevel, msg string, args ...Field) (entry *Ent
|
||||
if addStack {
|
||||
buffer := pools.BufferPoolGet()
|
||||
defer buffer.Free()
|
||||
|
||||
stackfmt := newStackFormatter(buffer)
|
||||
|
||||
stackfmt.FormatFrame(frame)
|
||||
if more {
|
||||
stackfmt.FormatStack(stack)
|
||||
|
Loading…
Reference in New Issue
Block a user