MCPcopy
hub / github.com/uber-go/zap / AppendObject

Method AppendObject

zapcore/encoder.go:415–415  ·  view source on GitHub ↗
(ObjectMarshaler)

Source from the content-addressed store, hash-verified

413 // Logging-specific marshalers.
414 AppendArray(ArrayMarshaler) error
415 AppendObject(ObjectMarshaler) error
416
417 // AppendReflected uses reflection to serialize arbitrary objects, so it's
418 // slow and allocation-heavy.

Callers 11

MarshalLogArrayMethod · 0.65
MarshalLogArrayMethod · 0.65
MarshalLogArrayMethod · 0.65
MarshalLogArrayMethod · 0.65
TestJSONEncoderArraysFunction · 0.65
MarshalLogObjectMethod · 0.65
MarshalLogArrayMethod · 0.65
MarshalLogArrayMethod · 0.65
MarshalLogArrayMethod · 0.65
MarshalLogArrayMethod · 0.65

Implementers 2

jsonEncoderzapcore/json_encoder.go
sliceArrayEncoderzapcore/memory_encoder.go

Calls

no outgoing calls

Tested by 5

TestJSONEncoderArraysFunction · 0.52
MarshalLogObjectMethod · 0.52
MarshalLogArrayMethod · 0.52
MarshalLogArrayMethod · 0.52