MCPcopy Create free account
hub / github.com/akash-network/node / With

Method With

util/cli/configs.go:61–64  ·  view source on GitHub ↗

With returns a new wrapped logger with additional context provided by a set.

(keyVals ...interface{})

Source from the content-addressed store, hash-verified

59
60// With returns a new wrapped logger with additional context provided by a set.
61func (l zeroLogWrapper) With(keyVals ...interface{}) log.Logger {
62 logger := l.Logger.With().Fields(keyVals).Logger()
63 return zeroLogWrapper{&logger}
64}
65
66// Impl returns the underlying zerolog logger.
67// It can be used to used zerolog structured API directly instead of the wrapper.

Callers 15

LoggerMethod · 0.80
LoggerMethod · 0.80
LoggerMethod · 0.80
OnGroupClosedMethod · 0.80
initUpgradeFunction · 0.80
startInProcessFunction · 0.80
SetupSuiteMethod · 0.80
SetupSuiteMethod · 0.80
TestDeploymentMethod · 0.80
TestGroupMethod · 0.80

Calls 1

LoggerMethod · 0.45