Modify the line terminator

This commit is contained in:
wangjian 2022-08-03 17:14:19 +08:00
parent f95dfe1666
commit fa8f2107bd
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ func (logger *Logger) cores() zap.Option {
FunctionKey: zapcore.OmitKey, FunctionKey: zapcore.OmitKey,
MessageKey: "msg", MessageKey: "msg",
StacktraceKey: "stacktrace", StacktraceKey: "stacktrace",
LineEnding: " ", LineEnding: "\n",
EncodeLevel: encodeLevel, EncodeLevel: encodeLevel,
EncodeTime: encodeTime, EncodeTime: encodeTime,
EncodeDuration: zapcore.SecondsDurationEncoder, EncodeDuration: zapcore.SecondsDurationEncoder,