Logging and Notifications
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user