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

Method clone

logger.go:317–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315}
316
317func (log *Logger) clone() *Logger {
318 clone := *log
319 return &clone
320}
321
322func (log *Logger) check(lvl zapcore.Level, msg string) *zapcore.CheckedEntry {
323 // Logger.check must always be called directly by a method in the

Callers 6

SugarMethod · 0.95
NamedMethod · 0.95
WithOptionsMethod · 0.95
WithMethod · 0.95
DesugarMethod · 0.45
WithOptionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected