MCPcopy Create free account
hub / github.com/GCWing/BitFun / resolve_default_level

Function resolve_default_level

src/apps/desktop/src/logging.rs:98–100  ·  view source on GitHub ↗

Default to Debug in early development for easier diagnostics

(_is_debug: bool)

Source from the content-addressed store, hash-verified

96
97// Default to Debug in early development for easier diagnostics
98fn resolve_default_level(_is_debug: bool) -> log::LevelFilter {
99 log::LevelFilter::Debug
100}
101
102pub fn parse_log_level(value: &str) -> Option<log::LevelFilter> {
103 match value.trim().to_lowercase().as_str() {

Callers 1

newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected