diff --git a/logs/log.go b/logs/log.go index 0e97a70e..d07138c2 100644 --- a/logs/log.go +++ b/logs/log.go @@ -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