desktop: use tracing for logging (#13135)

This commit is contained in:
Brendan Allan 2026-02-11 19:36:27 +08:00 committed by GitHub
commit a25b2af05a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 264 additions and 154 deletions

View file

@ -4,7 +4,6 @@ pub const SETTINGS_STORE: &str = "opencode.settings.dat";
pub const DEFAULT_SERVER_URL_KEY: &str = "defaultServerUrl";
pub const WSL_ENABLED_KEY: &str = "wslEnabled";
pub const UPDATER_ENABLED: bool = option_env!("TAURI_SIGNING_PRIVATE_KEY").is_some();
pub const MAX_LOG_ENTRIES: usize = 200;
pub fn window_state_flags() -> StateFlags {
StateFlags::all() - StateFlags::DECORATIONS - StateFlags::VISIBLE