mirror of
https://github.com/astaxie/beego.git
synced 2024-11-29 12:21:27 +00:00
Do not check log level in writerMsg() because the check is already done outside.
This commit is contained in:
parent
74e0af4a9a
commit
d3cdebbee2
@ -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