We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
level_key
1 parent ecd5eea commit 3f59213Copy full SHA for 3f59213
modules/logging/encoders.go
@@ -264,6 +264,9 @@ func (lec *LogEncoderConfig) ZapcoreEncoderConfig() zapcore.EncoderConfig {
264
if lec.MessageKey != nil {
265
cfg.MessageKey = *lec.MessageKey
266
}
267
+ if lec.LevelKey != nil {
268
+ cfg.LevelKey = *lec.LevelKey
269
+ }
270
if lec.TimeKey != nil {
271
cfg.TimeKey = *lec.TimeKey
272
0 commit comments