diff --git a/logger.go b/logger.go index 4ca1fa2..10f422f 100644 --- a/logger.go +++ b/logger.go @@ -218,7 +218,7 @@ func (logger *Logger) cores() zap.Option { FunctionKey: zapcore.OmitKey, MessageKey: "msg", StacktraceKey: "stacktrace", - LineEnding: " ", + LineEnding: "\n", EncodeLevel: encodeLevel, EncodeTime: encodeTime, EncodeDuration: zapcore.SecondsDurationEncoder,