MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / WithField

Method WithField

pkg/log/logger.go:134–136  ·  view source on GitHub ↗

WithField implements log.Interface.

(name string, val any)

Source from the content-addressed store, hash-verified

132
133// WithField implements log.Interface.
134func (l *Logger) WithField(name string, val any) Interface {
135 return l.entry().WithField(name, val)
136}
137
138// WithFields implements log.Interface.
139func (l *Logger) WithFields(fields Fielder) Interface {

Callers 2

GetLoggerFunction · 0.95
initFunction · 0.95

Calls 2

entryMethod · 0.95
WithFieldMethod · 0.65

Tested by 1

initFunction · 0.76