diff --git a/lib/logger/logger.go b/lib/logger/logger.go index 5d728083d..8763e6da4 100644 --- a/lib/logger/logger.go +++ b/lib/logger/logger.go @@ -84,7 +84,7 @@ func Panicf(format string, args ...interface{}) { } func logLevel(level, format string, args ...interface{}) { - logLevelSkipframes(0, level, format, args...) + logLevelSkipframes(1, level, format, args...) } func logLevelSkipframes(skipframes int, level, format string, args ...interface{}) {