MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / init

Function init

packages/server/src/logging.rs:3–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use tracing_subscriber::EnvFilter;
2
3pub fn init() {
4 let filter = EnvFilter::try_from_env("SIMDECK_LOG")
5 .unwrap_or_else(|_| EnvFilter::new("error,webrtc=error,webrtc_ice=error,webrtc_mdns=off"));
6 tracing_subscriber::fmt()
7 .with_env_filter(filter)
8 .with_writer(std::io::stderr)
9 .init();
10}

Callers 2

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected