Logging and Notifications

This commit is contained in:
2024-10-17 12:49:56 +02:00
parent 4e8ef3c0b4
commit 4c88ca0685
10 changed files with 247 additions and 35 deletions

View File

@@ -137,7 +137,7 @@ pub async fn start(
loop {
if let Ok(event) = event_receiver.recv().await {
if event == Event::Quit {
println!("Shutting down State Machine");
tracing::info!("Shutting down State Machine");
break;
}
@@ -153,6 +153,6 @@ pub async fn start(
}
}
println!("State Machine Shutdown");
tracing::info!("State Machine Shutdown");
Ok(())
}