Versions in this module Expand all Collapse all v1 v1.4.2 Nov 4, 2022 v1.4.1 Aug 16, 2022 Changes in this version + func NewEncoder(verbosity int) zapcore.Encoder + func WithLevel(level zapcore.Level) zap.Option + type Encoder struct + func (c Encoder) Clone() zapcore.Encoder + func (c Encoder) EncodeEntry(ent zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error) + func (enc Encoder) AddArray(key string, arr zapcore.ArrayMarshaler) error + func (enc Encoder) AddBinary(key string, val []byte) + func (enc Encoder) AddBool(key string, val bool) + func (enc Encoder) AddByteString(key string, val []byte) + func (enc Encoder) AddComplex128(key string, val complex128) + func (enc Encoder) AddComplex64(k string, v complex64) + func (enc Encoder) AddDuration(key string, val time.Duration) + func (enc Encoder) AddFloat32(k string, v float32) + func (enc Encoder) AddFloat64(key string, val float64) + func (enc Encoder) AddInt(k string, v int) + func (enc Encoder) AddInt16(k string, v int16) + func (enc Encoder) AddInt32(k string, v int32) + func (enc Encoder) AddInt64(key string, val int64) + func (enc Encoder) AddInt8(k string, v int8) + func (enc Encoder) AddObject(key string, obj zapcore.ObjectMarshaler) error + func (enc Encoder) AddReflected(key string, obj interface{}) error + func (enc Encoder) AddString(key, val string) + func (enc Encoder) AddTime(key string, val time.Time) + func (enc Encoder) AddUint(k string, v uint) + func (enc Encoder) AddUint16(k string, v uint16) + func (enc Encoder) AddUint32(k string, v uint32) + func (enc Encoder) AddUint64(key string, val uint64) + func (enc Encoder) AddUint8(k string, v uint8) + func (enc Encoder) AddUintptr(k string, v uintptr) + func (enc Encoder) AppendArray(arr zapcore.ArrayMarshaler) error + func (enc Encoder) AppendBool(val bool) + func (enc Encoder) AppendByteString(val []byte) + func (enc Encoder) AppendComplex128(val complex128) + func (enc Encoder) AppendComplex64(v complex64) + func (enc Encoder) AppendDuration(val time.Duration) + func (enc Encoder) AppendFloat32(v float32) + func (enc Encoder) AppendFloat64(v float64) + func (enc Encoder) AppendInt(v int) + func (enc Encoder) AppendInt16(v int16) + func (enc Encoder) AppendInt32(v int32) + func (enc Encoder) AppendInt64(val int64) + func (enc Encoder) AppendInt8(v int8) + func (enc Encoder) AppendObject(obj zapcore.ObjectMarshaler) error + func (enc Encoder) AppendReflected(val interface{}) error + func (enc Encoder) AppendString(val string) + func (enc Encoder) AppendTime(val time.Time) + func (enc Encoder) AppendTimeLayout(time time.Time, layout string) + func (enc Encoder) AppendUint(v uint) + func (enc Encoder) AppendUint16(v uint16) + func (enc Encoder) AppendUint32(v uint32) + func (enc Encoder) AppendUint64(val uint64) + func (enc Encoder) AppendUint8(v uint8) + func (enc Encoder) AppendUintptr(v uintptr) + func (enc Encoder) OpenNamespace(key string)