(key string, marshaler zapcore.ArrayMarshaler)
| 121 | } |
| 122 | |
| 123 | func (enc brokenArrayObjectEncoder) AddArray(key string, marshaler zapcore.ArrayMarshaler) error { |
| 124 | return enc.ObjectEncoder.AddArray(key, |
| 125 | zapcore.ArrayMarshalerFunc(func(ae zapcore.ArrayEncoder) error { |
| 126 | enc.ArrayEncoder = ae |
| 127 | return marshaler.MarshalLogArray(enc) |
| 128 | })) |
| 129 | } |
| 130 | |
| 131 | func (enc brokenArrayObjectEncoder) AppendObject(zapcore.ObjectMarshaler) error { |
| 132 | return enc.Err |
nothing calls this directly
no test coverage detected