MCPcopy Create free account
hub / github.com/caddyserver/caddy / AddDuration

Method AddDuration

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

AddDuration is part of the zapcore.ObjectEncoder interface.

(key string, value time.Duration)

Source from the content-addressed store, hash-verified

48
49// AddDuration is part of the zapcore.ObjectEncoder interface.
50func (nopEncoder) AddDuration(key string, value time.Duration) {}
51
52// AddFloat64 is part of the zapcore.ObjectEncoder interface.
53func (nopEncoder) AddFloat64(key string, value float64) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected