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

This commit is contained in:
Aliaksandr Valialkin 2020-01-26 18:34:02 +02:00
parent 9f595cb2b1
commit 81ba371eaf

View File

@ -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{}) {