Skip to content

Commit 6fe1405

Browse files
committed
Fixed #18
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 058e16e commit 6fe1405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

log/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func (l *Logger) log(v Lvl, format string, args ...interface{}) {
342342
buf := l.bufferPool.Get().(*bytes.Buffer)
343343
buf.Reset()
344344
defer l.bufferPool.Put(buf)
345-
_, file, line, _ := runtime.Caller(3)
345+
_, file, line, _ := runtime.Caller(2)
346346

347347
if v >= l.level || v == 0 {
348348
message := ""

0 commit comments

Comments
 (0)