type go.uber.org/zap/zapcore.ObjectMarshaler
16 uses
go.uber.org/zap/zapcore (current package)
encoder.go#L352: AddObject(key string, marshaler ObjectMarshaler) error
encoder.go#L400: AppendObject(ObjectMarshaler) error
field.go#L121: err = enc.AddObject(f.Key, f.Interface.(ObjectMarshaler))
field.go#L123: err = f.Interface.(ObjectMarshaler).MarshalLogObject(enc)
json_encoder.go#L105: func (enc *jsonEncoder) AddObject(key string, obj ObjectMarshaler) error {
json_encoder.go#L218: func (enc *jsonEncoder) AppendObject(obj ObjectMarshaler) error {
marshaler.go#L30: type ObjectMarshaler interface {
memory_encoder.go#L53: func (m *MapObjectEncoder) AddObject(k string, v ObjectMarshaler) error {
memory_encoder.go#L148: func (s *sliceArrayEncoder) AppendObject(v ObjectMarshaler) error {
go.uber.org/zap
array.go#L130: func Objects[T zapcore.ObjectMarshaler](key string, values []T) Field {
array.go#L134: type objects[T zapcore.ObjectMarshaler] []T
array.go#L149: zapcore.ObjectMarshaler
field.go#L400: func Object(key string, val zapcore.ObjectMarshaler) Field {
field.go#L407: func Inline(val zapcore.ObjectMarshaler) Field {
field.go#L482: case zapcore.ObjectMarshaler:
field.go#L483: c = anyFieldC[zapcore.ObjectMarshaler](Object)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |