Clone is part of the zapcore.ObjectEncoder interface. We don't use it as of Oct 2019 (v2 beta 7), I'm not really sure what it'd be useful for in our case.
()
| 104 | // We don't use it as of Oct 2019 (v2 beta 7), I'm not |
| 105 | // really sure what it'd be useful for in our case. |
| 106 | func (ne nopEncoder) Clone() zapcore.Encoder { return ne } |
| 107 | |
| 108 | // EncodeEntry partially implements the zapcore.Encoder interface. |
| 109 | func (nopEncoder) EncodeEntry(ent zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error) { |
no outgoing calls