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

Function ParseLevel

utils/log/logwrapper.go:218–220  ·  view source on GitHub ↗

ParseLevel parse the level string and returns the logger level.

(lvl string)

Source from the content-addressed store, hash-verified

216
217// ParseLevel parse the level string and returns the logger level.
218func ParseLevel(lvl string) (logrus.Level, error) {
219 return logrus.ParseLevel(lvl)
220}
221
222// SetStringLevel enforce current log level.
223func SetStringLevel(lvl string, defaultLevel logrus.Level) {

Callers 2

initFunction · 0.92
SetStringLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected