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

Method MarshalLogObject

error.go:78–82  ·  view source on GitHub ↗
(enc zapcore.ObjectEncoder)

Source from the content-addressed store, hash-verified

76}
77
78func (e *errArrayElem) MarshalLogObject(enc zapcore.ObjectEncoder) error {
79 // Re-use the error field's logic, which supports non-standard error types.
80 Error(e.error).AddTo(enc)
81 return nil
82}

Callers

nothing calls this directly

Calls 2

ErrorFunction · 0.85
AddToMethod · 0.80

Tested by

no test coverage detected