We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb944ae commit fb70514Copy full SHA for fb70514
src/semantic-router/pkg/observability/logging.go
@@ -78,7 +78,7 @@ func InitLogger(cfg Config) (*zap.Logger, error) {
78
}
79
80
if cfg.AddCaller {
81
- logger = logger.WithOptions(zap.AddCaller())
+ logger = logger.WithOptions(zap.AddCaller(), zap.AddCallerSkip(1))
82
83
84
// Replace globals and redirect stdlib log
0 commit comments