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

Function init_file_logging

src/apps/cli/src/logging.rs:382–386  ·  view source on GitHub ↗
(log_level: tracing::Level)

Source from the content-addressed store, hash-verified

380}
381
382pub fn init_file_logging(log_level: tracing::Level) -> CliLogPaths {
383 let logs_root = resolve_logs_root();
384 let session_log_dir = create_session_log_dir(&logs_root);
385 init_file_logging_at(&session_log_dir, log_level)
386}
387
388#[cfg(test)]
389mod tests {

Callers 1

run_cliFunction · 0.85

Calls 3

init_file_logging_atFunction · 0.85
resolve_logs_rootFunction · 0.70
create_session_log_dirFunction · 0.70

Tested by

no test coverage detected