Commit 5b1705b2 authored by toalexjin's avatar toalexjin Committed by astaxie

Do not check log level in writerMsg() because the check is already done outside.

parent 34940d00
......@@ -148,9 +148,6 @@ func (bl *BeeLogger) DelLogger(adaptername string) error {
}
func (bl *BeeLogger) writerMsg(loglevel int, msg string) error {
if loglevel > bl.level {
return nil
}
lm := new(logMsg)
lm.level = loglevel
if bl.enableFuncCallDepth {
......
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