Skip to main content

init_tracing

Function init_tracing 

Source
pub(crate) fn init_tracing()
Expand description

Install the console subscriber the whole app logs through, so a failure reported with tracing::error!/warn! is not swallowed. RUST_LOG raises it: RUST_LOG=blockworx=info for what the store is doing, RUST_LOG=edit=debug to narrate every document mutation (the named Drawing setters), edit=trace for the per-frame drag writes.

There is no span-timing switch. --trace was one, and every span it could close was on the frame path, which nothing here runs.