Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
66
func
(c consoleEncoder) Clone() Encoder {
67
return
consoleEncoder{c.jsonEncoder.Clone().(*jsonEncoder)}
68
}
69
70
func
(c consoleEncoder) EncodeEntry(ent Entry, fields []Field) (*buffer.Buffer, error) {
71
line := bufferpool.Get()
Callers
nothing calls this directly
Calls
1
Clone
Method · 0.65
Tested by
no test coverage detected