MCPcopy
hub / github.com/caddyserver/caddy / Clone

Method Clone

modules/logging/nopencoder.go:106–106  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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.
106func (ne nopEncoder) Clone() zapcore.Encoder { return ne }
107
108// EncodeEntry partially implements the zapcore.Encoder interface.
109func (nopEncoder) EncodeEntry(ent zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error) {

Callers 7

ProvisionMethod · 0.45
ServeHTTPMethod · 0.45
funcHTTPIncludeMethod · 0.45
NewTransportMethod · 0.45
cloneRequestFunction · 0.45

Calls

no outgoing calls