refactor: unify log output format

This commit is contained in:
wonfen
2025-06-16 21:03:45 +08:00
parent 26acce94a4
commit 9b46c1a991
8 changed files with 160 additions and 65 deletions

View File

@@ -368,7 +368,7 @@ pub fn run() {
if core::handle::Handle::global().is_exiting() {
return;
}
println!("closing window...");
log::info!(target: "app", "closing window...");
api.prevent_close();
if let Some(window) = core::handle::Handle::global().get_window() {
let _ = window.hide();