rework (error) logging

This commit is contained in:
2025-05-16 10:03:48 +01:00
parent 9dbfbc4419
commit 10e69eaac3
6 changed files with 78 additions and 18 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ pub mod path {
.join("GTA Tools")
});
pub static APP_CONFIG: LazyLock<PathBuf> = LazyLock::new(|| APP_STORAGE.join("config.json"));
pub static APP_ERROR: LazyLock<PathBuf> = LazyLock::new(|| APP_STORAGE.join("error.log"));
pub static APP_LOG: LazyLock<PathBuf> = LazyLock::new(|| APP_STORAGE.join("gta-tools.log"));
}
pub mod game {