about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--log/log.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/log/log.go b/log/log.go
index c3338ea..730c2ef 100644
--- a/log/log.go
+++ b/log/log.go
@@ -91,6 +91,9 @@ func Configure(isProduction bool) *Logger {
 		))
 	}
 
+	zap.ReplaceGlobals(l)
+	zap.RedirectStdLog(l)
+
 	return &Logger{
 		logger: l.WithOptions(zap.AddCallerSkip(1)).Sugar(),
 	}