MCPcopy
hub / github.com/uber-go/zap / Clone

Method Clone

zapcore/console_encoder.go:66–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func (c consoleEncoder) Clone() Encoder {
67 return consoleEncoder{c.jsonEncoder.Clone().(*jsonEncoder)}
68}
69
70func (c consoleEncoder) EncodeEntry(ent Entry, fields []Field) (*buffer.Buffer, error) {
71 line := bufferpool.Get()

Callers

nothing calls this directly

Calls 1

CloneMethod · 0.65

Tested by

no test coverage detected