mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:10:48 +00:00
update log.go add GetLevel Function to Log
This commit is contained in:
parent
bf5c5626ab
commit
4613acd88e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user