Unverified Commit 33be6803 authored by astaxie's avatar astaxie Committed by GitHub

Merge pull request #2970 from gcy3y/master

update log.go add GetLevel Function to Log
parents aef2f1c6 4613acd8
......@@ -305,6 +305,11 @@ func (bl *BeeLogger) SetLevel(l int) {
bl.level = l
}
// GetLevel Get Current log message level.
func (bl *BeeLogger) GetLevel() int {
return bl.level
}
// SetLogFuncCallDepth set log funcCallDepth
func (bl *BeeLogger) SetLogFuncCallDepth(d int) {
bl.loggerFuncCallDepth = d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment