lib/logger: fix improperly set skipframes for all the logging functions

The bug has been introduced in the previous commit f6baee6efe
This commit is contained in:
Aliaksandr Valialkin 2020-01-26 18:34:02 +02:00
parent f6baee6efe
commit 6caa9bb51b

View file

@ -84,7 +84,7 @@ func Panicf(format string, args ...interface{}) {
} }
func logLevel(level, 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{}) { func logLevelSkipframes(skipframes int, level, format string, args ...interface{}) {