pub fn setup_tracing() -> Result<()>
Expand description

Sets up tokio tracing. Also makes sure that log statements from libraries respect the log level settings that have been set with RUST_LOG, for example:

use std::env;
env::set_var("RUST_LOG", "info,actix_web=info,sqlx=warn");