type go.uber.org/zap/zapcore.EncoderConfig
16 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L58: func NewConsoleEncoder(cfg EncoderConfig) Encoder {
encoder.go#L316: type EncoderConfig struct {
json_encoder.go#L55: *EncoderConfig
json_encoder.go#L77: func NewJSONEncoder(cfg EncoderConfig) Encoder {
json_encoder.go#L81: func newJSONEncoder(cfg EncoderConfig, spaced bool) *jsonEncoder {
go.uber.org/zap
config.go#L81: EncoderConfig zapcore.EncoderConfig `json:"encoderConfig" yaml:"encoderConfig"`
config.go#L124: func NewProductionEncoderConfig() zapcore.EncoderConfig {
config.go#L125: return zapcore.EncoderConfig{
config.go#L200: func NewDevelopmentEncoderConfig() zapcore.EncoderConfig {
config.go#L201: return zapcore.EncoderConfig{
encoder.go#L34: _encoderNameToConstructor = map[string]func(zapcore.EncoderConfig) (zapcore.Encoder, error){
encoder.go#L35: "console": func(encoderConfig zapcore.EncoderConfig) (zapcore.Encoder, error) {
encoder.go#L38: "json": func(encoderConfig zapcore.EncoderConfig) (zapcore.Encoder, error) {
encoder.go#L51: func RegisterEncoder(name string, constructor func(zapcore.EncoderConfig) (zapcore.Encoder, error)) error {
encoder.go#L64: func newEncoder(name string, encoderConfig zapcore.EncoderConfig) (zapcore.Encoder, error) {
logger.go#L129: encoderCfg := zapcore.EncoderConfig{
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. |