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

Method WithError

pkg/log/logger.go:144–146  ·  view source on GitHub ↗

WithError implements log.Interface.

(err error)

Source from the content-addressed store, hash-verified

142
143// WithError implements log.Interface.
144func (l *Logger) WithError(err error) Interface {
145 return l.entry().WithError(err)
146}
147
148// entry creates a new log entry.
149func (l *Logger) entry() *entry {

Callers

nothing calls this directly

Calls 2

entryMethod · 0.95
WithErrorMethod · 0.65

Tested by

no test coverage detected