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

@@ -84,7 +84,7 @@ pub fn change_clash_mode(mode: String) {
after_change_clash_mode();
}
}
Err(err) => println!("{err}"),
Err(err) => log::error!(target: "app", "{err}"),
}
});
}