(key string, marshaler ArrayMarshaler)
| 214 | } |
| 215 | |
| 216 | func (enc brokenArrayObjectEncoder) AddArray(key string, marshaler ArrayMarshaler) error { |
| 217 | return enc.ObjectEncoder.AddArray(key, |
| 218 | ArrayMarshalerFunc(func(ae ArrayEncoder) error { |
| 219 | enc.ArrayEncoder = ae |
| 220 | return marshaler.MarshalLogArray(enc) |
| 221 | })) |
| 222 | } |
| 223 | |
| 224 | func (enc brokenArrayObjectEncoder) AppendObject(ObjectMarshaler) error { |
| 225 | return enc.Err |
nothing calls this directly
no test coverage detected