dd4afac5 by astaxie

Merge pull request #1125 from wuranbo/dev_track

*feature) add BeeLogger.GetLogFuncCallDepth make simple wrapper log method aviable.
2 parents ecb27f34 e229a476
......@@ -181,6 +181,11 @@ func (bl *BeeLogger) SetLogFuncCallDepth(d int) {
bl.loggerFuncCallDepth = d
}
// get log funcCallDepth for wrapper
func (bl *BeeLogger) GetLogFuncCallDepth() int {
return bl.loggerFuncCallDepth
}
// enable log funcCallDepth
func (bl *BeeLogger) EnableFuncCallDepth(b bool) {
bl.enableFuncCallDepth = b
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!