summaryrefslogtreecommitdiffstats
path: root/mlog/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'mlog/log.go')
-rw-r--r--mlog/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlog/log.go b/mlog/log.go
index 801030c6c..22db0c7b1 100644
--- a/mlog/log.go
+++ b/mlog/log.go
@@ -119,7 +119,7 @@ func (l *Logger) With(fields ...Field) *Logger {
}
func (l *Logger) StdLog(fields ...Field) *log.Logger {
- return zap.NewStdLog(l.With(fields...).zap)
+ return zap.NewStdLog(l.With(fields...).zap.WithOptions(getStdLogOption()))
}
func (l *Logger) Debug(message string, fields ...Field) {