MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / WithField

Method WithField

utils/log/entrylogwrapper.go:48–50  ·  view source on GitHub ↗

WithField add a single field to the Entry.

(key string, value interface{})

Source from the content-addressed store, hash-verified

46
47// WithField add a single field to the Entry.
48func (entry *Entry) WithField(key string, value interface{}) *Entry {
49 return (*Entry)((*logrus.Entry)(entry).WithField(key, value))
50}
51
52// WithFields add a map of fields to the Entry.
53func (entry *Entry) WithFields(fields Fields) *Entry {

Callers 11

NewChainWithContextFunction · 0.80
pullMethod · 0.80
pullMethod · 0.80
TestWithFieldFunction · 0.80
WithFieldFunction · 0.80
writeMethod · 0.80
observerFetchBlockMethod · 0.80
configInitFunction · 0.80
runMirrorFunction · 0.80
runDropFunction · 0.80
serveConnMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestWithFieldFunction · 0.64