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

This commit is contained in:
toalexjin 2015-03-26 14:40:12 +08:00 committed by astaxie
parent 34940d00c0
commit 5b1705b2d6
1 changed files with 0 additions and 3 deletions

View File

@ -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 {