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

Method AddDuration

modules/logging/appendencoder.go:223–225  ·  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

221
222// AddDuration is part of the zapcore.ObjectEncoder interface.
223func (fe AppendEncoder) AddDuration(key string, value time.Duration) {
224 fe.wrapped.AddDuration(key, value)
225}
226
227// AddFloat64 is part of the zapcore.ObjectEncoder interface.
228func (fe AppendEncoder) AddFloat64(key string, value float64) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected