Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4687b1f805 | ||
|
|
7adae54f87 |
@@ -35,7 +35,7 @@ func (l Config) ApplyGlobal() {
|
||||
} else {
|
||||
conf = zap.NewDevelopmentConfig()
|
||||
}
|
||||
var encConfig zapcore.EncoderConfig
|
||||
encConfig := conf.EncoderConfig
|
||||
switch l.Format {
|
||||
case PlaintextOutput:
|
||||
encConfig.EncodeLevel = zapcore.CapitalLevelEncoder
|
||||
|
||||
Reference in new issue
Block a user