mirror of
https://github.com/astaxie/beego.git
synced 2025-06-25 18:00:19 +00:00
Fix: Set func call depth as 3
This commit is contained in:
@ -142,7 +142,7 @@ var logMsgPool *sync.Pool
|
||||
func NewLogger(channelLens ...int64) *BeeLogger {
|
||||
bl := new(BeeLogger)
|
||||
bl.level = LevelDebug
|
||||
bl.loggerFuncCallDepth = 2
|
||||
bl.loggerFuncCallDepth = 3
|
||||
bl.msgChanLen = append(channelLens, 0)[0]
|
||||
if bl.msgChanLen <= 0 {
|
||||
bl.msgChanLen = defaultAsyncMsgLen
|
||||
|
Reference in New Issue
Block a user