Modify the line terminator
This commit is contained in:
parent
f95dfe1666
commit
ba6a18ff2e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue