We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b62ad commit 986ec73Copy full SHA for 986ec73
adview-manager/serve/src/main.rs
@@ -2,7 +2,9 @@ use adview_serve::app::Application;
2
3
#[tokio::main]
4
async fn main() -> Result<(), Box<dyn std::error::Error>> {
5
- env_logger::init();
+ let tracing_subscriber = tracing_subscriber::FmtSubscriber::new();
6
+ tracing::subscriber::set_global_default(tracing_subscriber)
7
+ .expect("setting tracing default failed");
8
9
Application::new()?.run().await?;
10
0 commit comments