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

Method WithField

logrus.go:143–143  ·  view source on GitHub ↗
(key string, value interface{})

Source from the content-addressed store, hash-verified

141// the [Entry] and [Logger] types.
142type FieldLogger interface {
143 WithField(key string, value interface{}) *Entry
144 WithFields(fields Fields) *Entry
145 WithError(err error) *Entry
146

Implementers 2

Loggerlogger.go
Entryentry.go

Calls

no outgoing calls