| 72 | } |
| 73 | |
| 74 | type errArrayElem struct { |
| 75 | error |
| 76 | } |
| 77 | |
| 78 | func (e *errArrayElem) MarshalLogObject(enc zapcore.ObjectEncoder) error { |
| 79 | // Re-use the error field's logic, which supports non-standard error types. |
nothing calls this directly
no outgoing calls
no test coverage detected