mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
lib/logger: fix improperly set skipframes for all the logging functions
This commit is contained in:
parent
9f595cb2b1
commit
81ba371eaf
@ -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{}) {
|
||||
|
Loading…
Reference in New Issue
Block a user