chore: change println! to tracing::info

This commit is contained in:
Youwen Wu 2024-03-11 09:07:45 -07:00
parent ec54f3e362
commit cb214eff57
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -3,7 +3,7 @@ use tauri::{Manager, Window};
// This command must be async so that it doesn't run on the main thread. // This command must be async so that it doesn't run on the main thread.
#[tauri::command] #[tauri::command]
pub async fn close_splashscreen(window: Window) { pub async fn close_splashscreen(window: Window) {
println!("Closing splashscreen"); tracing::info!("Closing splashscreen");
// Close splashscreen // Close splashscreen
match window.get_window("splashscreen") { match window.get_window("splashscreen") {
Some(window) => window.close().unwrap(), Some(window) => window.close().unwrap(),