parent
31689a002d
commit
2bbc6ae9ff
9
log.go
9
log.go
|
@ -115,10 +115,11 @@ func (l *Logger) output(lev Llevel, depth int, fields H, v ...interface{}) {
|
|||
if !PROD {
|
||||
data.Stack = stack()
|
||||
}
|
||||
case Ldebug:
|
||||
if !PROD {
|
||||
data.Stack = stack()
|
||||
}
|
||||
// disable stack trace on debug
|
||||
// case Ldebug:
|
||||
// if !PROD {
|
||||
// data.Stack = stack()
|
||||
// }
|
||||
}
|
||||
lock.Lock()
|
||||
defer lock.Unlock()
|
||||
|
|
Loading…
Reference in New Issue