Object marshals an object that implement the LogObjectMarshaler interface and appends it to the array.
(obj LogObjectMarshaler)
| 75 | // Object marshals an object that implement the LogObjectMarshaler |
| 76 | // interface and appends it to the array. |
| 77 | func (a *Array) Object(obj LogObjectMarshaler) *Array { |
| 78 | a.buf = appendObject(enc.AppendArrayDelim(a.buf), obj, a.stack, a.ctx, a.ch) |
| 79 | return a |
| 80 | } |
| 81 | |
| 82 | // Str appends the val as a string to the array. |
| 83 | func (a *Array) Str(val string) *Array { |
no test coverage detected