EncodeEntry partially implements the zapcore.Encoder interface.
(ent zapcore.Entry, fields []zapcore.Field)
| 107 | |
| 108 | // EncodeEntry partially implements the zapcore.Encoder interface. |
| 109 | func (nopEncoder) EncodeEntry(ent zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error) { |
| 110 | return bufferpool.Get(), nil |
| 111 | } |
| 112 | |
| 113 | // Interface guard |
| 114 | var _ zapcore.Encoder = (*nopEncoder)(nil) |