go.uber.org/zap/zapcore.EncoderConfig.EncodeLevel (field)
8 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L83: if c.LevelKey != "" && c.EncodeLevel != nil {
console_encoder.go#L84: c.EncodeLevel(ent.Level, arr)
encoder.go#L331: EncodeLevel LevelEncoder `json:"levelEncoder" yaml:"levelEncoder"`
json_encoder.go#L365: if final.LevelKey != "" && final.EncodeLevel != nil {
json_encoder.go#L368: final.EncodeLevel(ent.Level, final)
go.uber.org/zap
config.go#L134: EncodeLevel: zapcore.LowercaseLevelEncoder,
config.go#L211: EncodeLevel: zapcore.CapitalLevelEncoder,
logger.go#L133: EncodeLevel: zapcore.LowercaseLevelEncoder,
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |