aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/thunderstore
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-03-26 14:25:58 +0200
committerGitHub <noreply@github.com>2023-03-26 12:25:58 +0000
commitfe3cb8202f4332a547c15c1e9fb46eb2a5f7a470 (patch)
tree75e2d95334ab39a66e6c6cf4107f59136ab6dcbb /src-tauri/src/thunderstore
parent91c1dbb72943d00eefb5564ee85671f57a349709 (diff)
downloadFlightCore-fe3cb8202f4332a547c15c1e9fb46eb2a5f7a470.tar.gz
FlightCore-fe3cb8202f4332a547c15c1e9fb46eb2a5f7a470.zip
refactor: Replace all `println!()` with log statements (#236)
* refactor: Replace all println with calls to logger in `do_install()` * refactor: Replace all println with calls to logger in `verify_install_location()` * refactor: Replace all println with calls to logger in `get_northstar_release_notes()` * refactor: Replace all println with calls to logger in `update_northstar_caller()` * refactor: Replace all println with calls to logger in `install_northstar_caller()` * refactor: Replace all println with calls to logger in `apply_launcher_pr()` * refactor: Replace all println with calls to logger in `apply_mods_pr()` * refactor: Replace all println with calls to logger in `find_game_install_location()` * refactor: Replace all println with calls to logger in `install_mod_caller()` * refactor: Replace all println with calls to logger in `set_mod_enabled_status()` * refactor: Replace all println with calls to logger in `parse_installed_mods()` * refactor: Replace all println with calls to logger in `origin_install_location_detection()` * refactor: Replace all println with calls to logger in `query_thunderstore_packages_api()` * refactor: Replace all println with calls to logger in `add_batch_file()` * refactor: Replace all println with calls to logger in `extract()` * refactor: Replace all println with calls to logger in `check_is_northstar_outdated()`
Diffstat (limited to 'src-tauri/src/thunderstore')
-rw-r--r--src-tauri/src/thunderstore/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/thunderstore/mod.rs b/src-tauri/src/thunderstore/mod.rs
index 9151ba7c..483968cf 100644
--- a/src-tauri/src/thunderstore/mod.rs
+++ b/src-tauri/src/thunderstore/mod.rs
@@ -43,7 +43,7 @@ pub struct ThunderstoreModVersion {
/// Queries Thunderstore packages API
#[tauri::command]
pub async fn query_thunderstore_packages_api() -> Result<Vec<ThunderstoreMod>, String> {
- println!("Fetching Thunderstore API");
+ log::info!("Fetching Thunderstore API");
// Fetches
let url = "https://northstar.thunderstore.io/api/v1/package/";