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

Method Add

modules/caddyhttp/logging.go:241–244  ·  modules/caddyhttp/logging.go::ExtraLogFields.Add

Add adds a field to the list of extra fields to log.

(field zap.Field)

Source from the content-addressed store, hash-verified

239
240// Add adds a field to the list of extra fields to log.
241func (e *ExtraLogFields) Add(field zap.Field) {
242 e.handlers.Clear()
243 e.fields = append(e.fields, field)
244}
245
246// Set sets a field in the list of extra fields to log.
247// If the field already exists, it is replaced.

Callers 15

LoadOrNewMethod · 0.45
LoadOrStoreMethod · 0.45
DeleteMethod · 0.45
setDeadlineMethod · 0.45
reuseUnixSocketFunction · 0.45
CloseMethod · 0.45
CloseMethod · 0.45
needsRenewalMethod · 0.45
TestKeyPair_LoadFunction · 0.45
newCertFunction · 0.45
TestInternalIssuer_IssueFunction · 0.45
IssueMethod · 0.45

Calls

no outgoing calls