MCPcopy Create free account
hub / github.com/Botloader/botloader / setup_tracing_stdout

Function setup_tracing_stdout

components/common/src/lib.rs:117–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115}
116
117pub fn setup_tracing_stdout() {
118 let fmt_layer = tracing_subscriber::fmt::layer()
119 .with_target(true)
120 .with_span_events(FmtSpan::NONE);
121 let env_filter = EnvFilter::from_default_env();
122
123 tracing_subscriber::registry()
124 .with(global_filters())
125 .with(fmt_layer)
126 .with(env_filter)
127 .init();
128}
129
130fn global_filters() -> Targets {
131 Targets::new()

Callers 2

setup_tracingFunction · 0.85
mainFunction · 0.85

Calls 1

global_filtersFunction · 0.85

Tested by

no test coverage detected