diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-03-21 09:31:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 08:31:36 +0000 |
commit | 36fdc302bef162d213d6a026c99614673b24a069 (patch) | |
tree | cadbdda49542ddf5234040206676a186ebe9b440 /src-tauri/src/northstar/mod.rs | |
parent | 25791906cc8c81368af5718f8ec6ee8b4f428b31 (diff) | |
download | FlightCore-36fdc302bef162d213d6a026c99614673b24a069.tar.gz FlightCore-36fdc302bef162d213d6a026c99614673b24a069.zip |
feat: Proper logging (#223)
* feat: Initial setup of sentry logging
* refactor: Replace some println with log call
Not replacing all cause too large diff
Diffstat (limited to 'src-tauri/src/northstar/mod.rs')
-rw-r--r-- | src-tauri/src/northstar/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src-tauri/src/northstar/mod.rs b/src-tauri/src/northstar/mod.rs index a043632c..f3f8cde3 100644 --- a/src-tauri/src/northstar/mod.rs +++ b/src-tauri/src/northstar/mod.rs @@ -6,8 +6,7 @@ use anyhow::anyhow; /// Returns the current Northstar version number as a string pub fn get_northstar_version_number(game_path: String) -> Result<String, anyhow::Error> { - println!("{}", game_path); - // println!("{:?}", install_type); + log::info!("{}", game_path); // TODO: // Check if NorthstarLauncher.exe exists and check its version number @@ -33,7 +32,7 @@ pub fn get_northstar_version_number(game_path: String) -> Result<String, anyhow: return Err(anyhow!("Found version number mismatch")); } } - println!("All mods same version"); + log::info!("All mods same version"); Ok(initial_version_number) } |