1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-02 18:33:28 +00:00

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

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 {