MCPcopy Create free account
hub / github.com/Cyinx/einx / DebugLevel

Function DebugLevel

slog/slog_manager.go:91–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func DebugLevel() Level {
92 return Level(atomic.LoadUint32((*uint32)(&LOG_LEVEL)))
93}
94
95func SetDebugLevel(level Level) {
96 atomic.StoreUint32((*uint32)(&LOG_LEVEL), uint32(level))

Callers 1

doRunMethod · 0.85

Calls 1

LevelTypeAlias · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…