go.uber.org/zap/zapcore.Field.Interface (field)
18 uses
go.uber.org/zap/zapcore (current package)
field.go#L109: Interface interface{}
field.go#L119: err = enc.AddArray(f.Key, f.Interface.(ArrayMarshaler))
field.go#L121: err = enc.AddObject(f.Key, f.Interface.(ObjectMarshaler))
field.go#L123: err = f.Interface.(ObjectMarshaler).MarshalLogObject(enc)
field.go#L125: enc.AddBinary(f.Key, f.Interface.([]byte))
field.go#L129: enc.AddByteString(f.Key, f.Interface.([]byte))
field.go#L131: enc.AddComplex128(f.Key, f.Interface.(complex128))
field.go#L133: enc.AddComplex64(f.Key, f.Interface.(complex64))
field.go#L151: if f.Interface != nil {
field.go#L152: enc.AddTime(f.Key, time.Unix(0, f.Integer).In(f.Interface.(*time.Location)))
field.go#L158: enc.AddTime(f.Key, f.Interface.(time.Time))
field.go#L170: err = enc.AddReflected(f.Key, f.Interface)
field.go#L174: err = encodeStringer(f.Key, f.Interface, enc)
field.go#L176: err = encodeError(f.Key, f.Interface.(error), enc)
field.go#L200: return bytes.Equal(f.Interface.([]byte), other.Interface.([]byte))
field.go#L202: return reflect.DeepEqual(f.Interface, other.Interface)