Skip to content

Commit 7b72c5b

Browse files
ZapLoggerTo points to zap.LoggerTo
1 parent 4276f38 commit 7b72c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/runtime/log/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
3737
// ZapLoggerTo returns a new Logger implementation using Zap which logs
3838
// to the given destination, instead of stderr. It otherise behaves like
3939
// ZapLogger.
40-
ZapLoggerTo = zap.Logger
40+
ZapLoggerTo = zap.LoggerTo
4141

4242
// SetLogger sets a concrete logging implementation for all deferred Loggers.
4343
SetLogger = log.SetLogger

0 commit comments

Comments
 (0)