Logging and Notifications
This commit is contained in:
@@ -60,7 +60,7 @@ pub async fn start_code_to_token(
|
||||
tokio::select! {
|
||||
_ = sleep(Duration::from_millis(100)) => {
|
||||
if let Ok(Event::Quit) = event_receiver.try_recv() {
|
||||
println!("Shutting down Code Transformer");
|
||||
tracing::info!("Shutting down Code Transformer");
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -90,6 +90,6 @@ pub async fn start_code_to_token(
|
||||
}
|
||||
}
|
||||
|
||||
println!("Code Transformer Shutdown");
|
||||
tracing::info!("Code Transformer Shutdown");
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user