improve code

This commit is contained in:
JessonChan
2016-01-13 08:21:44 +08:00
parent c535dc386e
commit e1b73b33d0
2 changed files with 21 additions and 21 deletions

View File

@@ -191,8 +191,6 @@ func (bl *BeeLogger) writeMsg(logLevel int, msg string) error {
}
_, filename := path.Split(file)
msg = "[" + filename + ":" + strconv.FormatInt(int64(line), 10) + "]" + msg
} else {
msg = msg
}
if bl.asynchronous {
lm := logMsgPool.Get().(*logMsg)