Keep an application log in a rotating file, and open its folder from « Paramètres » (#142)

Lines are queued to one writer thread, idle at rest, that flushes once the
queue is drained and on quit. Riot calls are logged by type, never by URL;
PUUIDs are cut to 8 characters and the key never appears.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
nessarandClaude Opus 5.5 committed 2026-11-27 16:22:04 +01:00
1 parent c3003930f1
commit 200a1f380c
30 files changed
+911 -38

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ pub fn heading(cx: &App) -> Div {
fn load_font(cx: &App, bytes: &'static [u8], family: &'static str, weight: FontWeight) -> bool {
let text = cx.text_system();
if let Err(error) = text.add_fonts(vec![Cow::Borrowed(bytes)]) {
eprintln!("Failed to load {family}: {error}");
log::error!("Failed to load {family}: {error}");
return false;
}
// Naming a missing family incurs a fallback lookup on every text run.