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

Function GetLevel

pkg/server/log/log.go:74–76  ·  view source on GitHub ↗

GetLevel returns the current global log level

()

Source from the content-addressed store, hash-verified

72
73// GetLevel returns the current global log level
74func GetLevel() string {
75 return currentLevel
76}
77
78// shouldLog returns true if the given level should be logged based on currentLevel.
79//

Callers 1

OpenFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected