Skip to content

Commit 9942957

Browse files
authored
Merge pull request #559 from GrigoriyMikhalkin/CR-558
✨ ZapLoggerTo points to zap.LoggerTo
2 parents 084b73e + 7b72c5b commit 9942957

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 otherwise 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)