feat(logging): default to paused state and prevent performance hit via frontend wrapper

- Default LOG_PAUSED to true in backend.
- Combine tauri_plugin_log filters to drop backend logs when paused.
- Create frontend logger wrapper to intercept and drop logs before IPC when paused.
- Sync LogsView state directly with logger wrapper and handle initialization races.
This commit is contained in:
NimBold
2026-06-23 04:33:24 +03:30
parent ddd4662898
commit eae3cf6180
8 changed files with 58 additions and 13 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { create } from 'zustand';
import { info } from '@tauri-apps/plugin-log';
import { info } from '../utils/logger';
import { invokeCommand as invoke } from '../ipc';
import type { DownloadItem } from '../bindings/DownloadItem';