MCPcopy Create free account
hub / github.com/ccusage/ccusage / log_level

Function log_level

rust/crates/ccusage/src/logger.rs:11–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11pub(crate) fn log_level() -> Option<u8> {
12 env::var("LOG_LEVEL")
13 .ok()
14 .and_then(|value| value.parse::<u8>().ok())
15}

Callers 15

terminal_styleFunction · 0.85
track_usage_loadFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85
load_rowsFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected