pub fn init_tracing() -> Result<()>
Expand description
Initialize tracing.
Tracing is meant to be used to trace/debug async Rust code. It can be
configured to filter modules and write up to a specific level by passing
a configuration using the RUST_LOG
environment variable.
§Safety
Should only be called once during an applications run, ideally at the beginning of the run.
§Errors
Returns an error if tracing subscriber fails to initialize.