Commit 22f4ab5
committed
Logging: Unify FE+BE logging with tauri-plugin-log
- Replace env_logger with tauri-plugin-log + env_filter (RUST_LOG still works)
- Add batching log bridge: FE logs → Rust log facade → terminal + file
- 100ms batch window, consecutive dedup (×N suffix), 200/s throttle
- Shorter log format: "10:19:34.90 INFO indexing::writer msg"
- Colored terminal output via fern
- Log file at ~/Library/Logs/ with 50 MB rotation
- Migrate feLog() call sites (viewer, updater) to getAppLogger()
- Delete ad-hoc feLog/fe_log bridge
- Wire verbose logging toggle to also set Rust log level at runtime
- "Open log file" button now opens actual log directory1 parent 075c1d4 commit 22f4ab5
20 files changed
Lines changed: 1027 additions & 222 deletions
File tree
- apps/desktop
- src-tauri
- src
- commands
- src
- lib
- settings/sections
- tauri-commands
- updates
- routes/viewer
- docs
- specs
- tooling
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | | - | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
0 commit comments