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

Method WithFields

utils/log/entrylogwrapper.go:53–55  ·  view source on GitHub ↗

WithFields add a map of fields to the Entry.

(fields Fields)

Source from the content-addressed store, hash-verified

51
52// WithFields add a map of fields to the Entry.
53func (entry *Entry) WithFields(fields Fields) *Entry {
54 return (*Entry)((*logrus.Entry)(entry).WithFields((logrus.Fields)(fields)))
55}
56
57// WithTime overrides the time of the Entry.
58func (entry *Entry) WithTime(t time.Time) *Entry {

Callers 15

processAddTxReqMethod · 0.80
blockingFetchBlockMethod · 0.80
pushBlockMethod · 0.80
produceBlockMethod · 0.80
syncHeadMethod · 0.80
runCurrentTurnMethod · 0.80
processBlocksMethod · 0.80
CheckAndPushNewBlockMethod · 0.80
statMethod · 0.80
billingMethod · 0.80
SetLastBillingHeightMethod · 0.80
TestWithFieldFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestWithFieldFunction · 0.64