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

Function default_log_level

src/apps/cli/src/logging.rs:209–215  ·  view source on GitHub ↗
(verbose: bool)

Source from the content-addressed store, hash-verified

207}
208
209pub fn default_log_level(verbose: bool) -> tracing::Level {
210 if verbose {
211 tracing::Level::TRACE
212 } else {
213 DEFAULT_LOG_LEVEL
214 }
215}
216
217pub fn resolve_logs_root() -> PathBuf {
218 CliConfig::config_dir()

Callers 1

run_cliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected