Skip to content

Commit 4be3d3a

Browse files
committed
fix: log depth for almost all log messages
An issue will remain for direct calls to internal.Logger.Printf, as the call depth cannot be adjusted there without changing the function signature.
1 parent 5842b1f commit 4be3d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type DefaultLogger struct {
1919
}
2020

2121
func (l *DefaultLogger) Printf(ctx context.Context, format string, v ...interface{}) {
22-
_ = l.log.Output(2, fmt.Sprintf(format, v...))
22+
_ = l.log.Output(4, fmt.Sprintf(format, v...))
2323
}
2424

2525
func NewDefaultLogger() Logging {

0 commit comments

Comments
 (0)