Documentation ¶
Index ¶
- type FieldAdapter
- func (fa *FieldAdapter) AddArray(key string, marshaler zapcore.ArrayMarshaler) error
- func (fa *FieldAdapter) AddBinary(key string, value []byte)
- func (fa *FieldAdapter) AddBool(key string, value bool)
- func (fa *FieldAdapter) AddByteString(key string, value []byte)
- func (fa *FieldAdapter) AddComplex128(key string, value complex128)
- func (fa *FieldAdapter) AddComplex64(key string, value complex64)
- func (fa *FieldAdapter) AddDuration(key string, value time.Duration)
- func (fa *FieldAdapter) AddFloat32(key string, value float32)
- func (fa *FieldAdapter) AddFloat64(key string, value float64)
- func (fa *FieldAdapter) AddInt(key string, value int)
- func (fa *FieldAdapter) AddInt16(key string, value int16)
- func (fa *FieldAdapter) AddInt32(key string, value int32)
- func (fa *FieldAdapter) AddInt64(key string, value int64)
- func (fa *FieldAdapter) AddInt8(key string, value int8)
- func (fa *FieldAdapter) AddObject(key string, value zapcore.ObjectMarshaler) error
- func (fa *FieldAdapter) AddReflected(key string, value interface{}) error
- func (fa *FieldAdapter) AddString(key, value string)
- func (fa *FieldAdapter) AddTime(key string, value time.Time)
- func (fa *FieldAdapter) AddUint(key string, value uint)
- func (fa *FieldAdapter) AddUint16(key string, value uint16)
- func (fa *FieldAdapter) AddUint32(key string, value uint32)
- func (fa *FieldAdapter) AddUint64(key string, value uint64)
- func (fa *FieldAdapter) AddUint8(key string, value uint8)
- func (fa *FieldAdapter) AddUintptr(key string, value uintptr)
- func (fa *FieldAdapter) OpenNamespace(key string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldAdapter ¶
func New ¶
func New(len, cup int) FieldAdapter
func (*FieldAdapter) AddArray ¶
func (fa *FieldAdapter) AddArray(key string, marshaler zapcore.ArrayMarshaler) error
func (*FieldAdapter) AddBinary ¶
func (fa *FieldAdapter) AddBinary(key string, value []byte)
func (*FieldAdapter) AddBool ¶
func (fa *FieldAdapter) AddBool(key string, value bool)
func (*FieldAdapter) AddByteString ¶
func (fa *FieldAdapter) AddByteString(key string, value []byte)
func (*FieldAdapter) AddComplex128 ¶
func (fa *FieldAdapter) AddComplex128(key string, value complex128)
func (*FieldAdapter) AddComplex64 ¶
func (fa *FieldAdapter) AddComplex64(key string, value complex64)
func (*FieldAdapter) AddDuration ¶
func (fa *FieldAdapter) AddDuration(key string, value time.Duration)
func (*FieldAdapter) AddFloat32 ¶
func (fa *FieldAdapter) AddFloat32(key string, value float32)
func (*FieldAdapter) AddFloat64 ¶
func (fa *FieldAdapter) AddFloat64(key string, value float64)
func (*FieldAdapter) AddInt ¶
func (fa *FieldAdapter) AddInt(key string, value int)
func (*FieldAdapter) AddInt16 ¶
func (fa *FieldAdapter) AddInt16(key string, value int16)
func (*FieldAdapter) AddInt32 ¶
func (fa *FieldAdapter) AddInt32(key string, value int32)
func (*FieldAdapter) AddInt64 ¶
func (fa *FieldAdapter) AddInt64(key string, value int64)
func (*FieldAdapter) AddInt8 ¶
func (fa *FieldAdapter) AddInt8(key string, value int8)
func (*FieldAdapter) AddObject ¶
func (fa *FieldAdapter) AddObject(key string, value zapcore.ObjectMarshaler) error
func (*FieldAdapter) AddReflected ¶
func (fa *FieldAdapter) AddReflected(key string, value interface{}) error
func (*FieldAdapter) AddString ¶
func (fa *FieldAdapter) AddString(key, value string)
func (*FieldAdapter) AddUint ¶
func (fa *FieldAdapter) AddUint(key string, value uint)
func (*FieldAdapter) AddUint16 ¶
func (fa *FieldAdapter) AddUint16(key string, value uint16)
func (*FieldAdapter) AddUint32 ¶
func (fa *FieldAdapter) AddUint32(key string, value uint32)
func (*FieldAdapter) AddUint64 ¶
func (fa *FieldAdapter) AddUint64(key string, value uint64)
func (*FieldAdapter) AddUint8 ¶
func (fa *FieldAdapter) AddUint8(key string, value uint8)
func (*FieldAdapter) AddUintptr ¶
func (fa *FieldAdapter) AddUintptr(key string, value uintptr)
func (*FieldAdapter) OpenNamespace ¶
func (fa *FieldAdapter) OpenNamespace(key string)
Click to show internal directories.
Click to hide internal directories.