MCPcopy
hub / github.com/sirupsen/logrus / WithFields

Method WithFields

logrus.go:144–144  ·  view source on GitHub ↗
(fields Fields)

Source from the content-addressed store, hash-verified

142type FieldLogger interface {
143 WithField(key string, value interface{}) *Entry
144 WithFields(fields Fields) *Entry
145 WithError(err error) *Entry
146
147 Debugf(format string, args ...interface{})

Callers 8

Example_hookFunction · 0.65
logSomethingFunction · 0.65
WithFieldsMethod · 0.65
Example_basicFunction · 0.65
WithFieldsFunction · 0.65

Implementers 2

Loggerlogger.go
Entryentry.go

Calls

no outgoing calls

Tested by 6

Example_hookFunction · 0.52
logSomethingFunction · 0.52
Example_basicFunction · 0.52