mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-22 04:32:02 +02:00
Fix log calldepth
This commit is contained in:
@@ -162,7 +162,7 @@ func (l *Logger) Output(lvl Level, calldepth int, message string) {
|
||||
if !l.stdEnabled {
|
||||
return
|
||||
}
|
||||
msg := l.formatLogMessage(calldepth, message)
|
||||
msg := l.formatLogMessage(calldepth+1, message)
|
||||
|
||||
var err error
|
||||
switch lvl {
|
||||
|
||||
Reference in New Issue
Block a user