kubernetes/vendor/go.uber.org/zap/zapcore/field.go

type FieldType

const UnknownType

const ArrayMarshalerType

const ObjectMarshalerType

const BinaryType

const BoolType

const ByteStringType

const Complex128Type

const Complex64Type

const DurationType

const Float64Type

const Float32Type

const Int64Type

const Int32Type

const Int16Type

const Int8Type

const StringType

const TimeType

const TimeFullType

const Uint64Type

const Uint32Type

const Uint16Type

const Uint8Type

const UintptrType

const ReflectType

const NamespaceType

const StringerType

const ErrorType

const SkipType

const InlineMarshalerType

type Field

// AddTo exports a field through the ObjectEncoder interface. It's primarily
// useful to library authors, and shouldn't be necessary in most applications.
func (f Field) AddTo(enc ObjectEncoder) {}

// Equals returns whether two fields are equal. For non-primitive types such as
// errors, marshalers, or reflect types, it uses reflect.DeepEqual.
func (f Field) Equals(other Field) bool {}

func addFields(enc ObjectEncoder, fields []Field) {}

func encodeStringer(key string, stringer interface{}