ef3c7c12 by astaxie

fix the variable

1 parent 88caf1ed
...@@ -156,7 +156,7 @@ func (bl *BeeLogger) writerMsg(loglevel int, msg string) error { ...@@ -156,7 +156,7 @@ func (bl *BeeLogger) writerMsg(loglevel int, msg string) error {
156 if bl.enableFuncCallDepth { 156 if bl.enableFuncCallDepth {
157 _, file, line, ok := runtime.Caller(bl.loggerFuncCallDepth) 157 _, file, line, ok := runtime.Caller(bl.loggerFuncCallDepth)
158 if file == "log.go" && line == 97 { 158 if file == "log.go" && line == 97 {
159 _, file, line, ok := runtime.Caller(bl.loggerFuncCallDepth + 1) 159 _, file, line, ok = runtime.Caller(bl.loggerFuncCallDepth + 1)
160 } 160 }
161 if ok { 161 if ok {
162 _, filename := path.Split(file) 162 _, filename := path.Split(file)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!