Francis Lavoie
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
modules/logging/encoders.go
|
@ -264,6 +264,9 @@ func (lec *LogEncoderConfig) ZapcoreEncoderConfig() zapcore.EncoderConfig { |
|
|
if lec.MessageKey != nil { |
|
|
if lec.MessageKey != nil { |
|
|
cfg.MessageKey = *lec.MessageKey |
|
|
cfg.MessageKey = *lec.MessageKey |
|
|
} |
|
|
} |
|
|
|
|
|
if lec.LevelKey != nil { |
|
|
|
|
|
cfg.LevelKey = *lec.LevelKey |
|
|
|
|
|
} |
|
|
if lec.TimeKey != nil { |
|
|
if lec.TimeKey != nil { |
|
|
cfg.TimeKey = *lec.TimeKey |
|
|
cfg.TimeKey = *lec.TimeKey |
|
|
} |
|
|
} |
|
|