MCPcopy Index your code
hub / github.com/dnote/dnote / SetLevel

Function SetLevel

pkg/server/log/log.go:69–71  ·  view source on GitHub ↗

SetLevel sets the global log level

(level string)

Source from the content-addressed store, hash-verified

67
68// SetLevel sets the global log level
69func SetLevel(level string) {
70 currentLevel = level
71}
72
73// GetLevel returns the current global log level
74func GetLevel() string {

Callers 3

startCmdFunction · 0.92
TestSetLevelFunction · 0.85
TestShouldLogFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestSetLevelFunction · 0.68
TestShouldLogFunction · 0.68