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

Method WithError

utils/log/entrylogwrapper.go:43–45  ·  view source on GitHub ↗

WithError adds an error as single field (using the key defined in ErrorKey) to the Entry.

(err error)

Source from the content-addressed store, hash-verified

41
42// WithError adds an error as single field (using the key defined in ErrorKey) to the Entry.
43func (entry *Entry) WithError(err error) *Entry {
44 return (*Entry)((*logrus.Entry)(entry).WithError(err))
45}
46
47// WithField add a single field to the Entry.
48func (entry *Entry) WithField(key string, value interface{}) *Entry {

Callers 15

advanceNextHeightMethod · 0.80
processAddTxReqMethod · 0.80
blockingFetchBlockMethod · 0.80
nextNonceMethod · 0.80
updatePermissionMethod · 0.80
updateKeysMethod · 0.80
updateBillingMethod · 0.80
applyMethod · 0.80

Calls

no outgoing calls

Tested by 3

initNodeFunction · 0.64
TestWithFieldFunction · 0.64
PrepareMethod · 0.64