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

Method MarshalLogArray

zapcore/error.go:125–127  ·  view source on GitHub ↗
(arr ArrayEncoder)

Source from the content-addressed store, hash-verified

123}
124
125func (e *errArrayElem) MarshalLogArray(arr ArrayEncoder) error {
126 return arr.AppendObject(e)
127}
128
129func (e *errArrayElem) MarshalLogObject(enc ObjectEncoder) error {
130 return encodeError("error", e.err, enc)

Callers

nothing calls this directly

Calls 1

AppendObjectMethod · 0.65

Tested by

no test coverage detected