desktop: use tracing for logging (#13135)
This commit is contained in:
parent
8bfd6fdba2
commit
a25b2af05a
10 changed files with 264 additions and 154 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue