1
0
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:
toalexjin 2015-03-26 14:40:12 +08:00
parent 74e0af4a9a
commit d3cdebbee2

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 {