mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 14:40:57 +00:00
Do not check log level in writerMsg() because the check is already done outside.
This commit is contained in:
parent
34940d00c0
commit
5b1705b2d6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user