mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +02:00
Including tracing setup in all examples (#79)
This commit is contained in:
@@ -30,6 +30,8 @@ fn main() {
|
||||
#[cfg(unix)]
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
let path = PathBuf::from("/tmp/axum/helloworld");
|
||||
|
||||
let _ = tokio::fs::remove_file(&path).await;
|
||||
|
||||
Reference in New Issue
Block a user