fieldadapter

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldAdapter

type FieldAdapter []log.Field

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) AddTime

func (fa *FieldAdapter) AddTime(key string, value time.Time)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL