mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
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:
parent
f6baee6efe
commit
6caa9bb51b
1 changed files with 1 additions and 1 deletions
|
@ -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{}) {
|
||||||
|
|
Loading…
Reference in a new issue