Function initialize_default_subscriber

Source
pub fn initialize_default_subscriber(
    chrome_trace_path: Option<impl AsRef<Path>>,
)
Expand description

Set up the “standard” logger.

This is fairly inflexible, but a good default to start with. If you need more customization, take what this function does and implement it however you need.

§Args

  • chrome_tracing_path if set to Some, will create a trace compatible with chrome://tracing at that location.