(zapcore.Entry, []zapcore.Field)
| 145 | func (se staticEncoder) Clone() zapcore.Encoder { return se } |
| 146 | |
| 147 | func (se staticEncoder) EncodeEntry(zapcore.Entry, []zapcore.Field) (*buffer.Buffer, error) { |
| 148 | buf := bufferpool.Get() |
| 149 | buf.AppendString(se.output) |
| 150 | return buf, nil |
| 151 | } |
| 152 | |
| 153 | func fixedEntryTime() (ts time.Time) { |
| 154 | return time.Date(2001, 2, 3, 4, 5, 6, 0, time.UTC) |