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

Function GetLevel

utils/log/logwrapper.go:213–215  ·  view source on GitHub ↗

GetLevel returns the standard logger level.

()

Source from the content-addressed store, hash-verified

211
212// GetLevel returns the standard logger level.
213func GetLevel() logrus.Level {
214 return logrus.GetLevel()
215}
216
217// ParseLevel parse the level string and returns the logger level.
218func ParseLevel(lvl string) (logrus.Level, error) {

Callers 10

TestEncryptDecryptCasesFunction · 0.92
initFunction · 0.92
TestDebugHandlerFunction · 0.92
TestRuntimeFunction · 0.92
initProjectDBFunction · 0.92
BenchmarkRPCComponentsFunction · 0.92
TestStandardLoggerFunction · 0.85
TestWithFieldFunction · 0.85
TestSimpleLogFunction · 0.85
TestFatalLogFunction · 0.85

Calls

no outgoing calls

Tested by 8

TestEncryptDecryptCasesFunction · 0.74
TestDebugHandlerFunction · 0.74
TestRuntimeFunction · 0.74
BenchmarkRPCComponentsFunction · 0.74
TestStandardLoggerFunction · 0.68
TestWithFieldFunction · 0.68
TestSimpleLogFunction · 0.68
TestFatalLogFunction · 0.68