feat: init tracing_subscriber in main

This commit is contained in:
2026-03-15 19:56:32 +01:00
parent d1122ff4f0
commit a3c53a213b
2 changed files with 2 additions and 0 deletions

View File

@@ -35,3 +35,4 @@ plugin-calc = { path = "../plugins/plugin-calc" }
plugin-cmd = { path = "../plugins/plugin-cmd" } plugin-cmd = { path = "../plugins/plugin-cmd" }
plugin-files = { path = "../plugins/plugin-files" } plugin-files = { path = "../plugins/plugin-files" }
tokio = { workspace = true } tokio = { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View File

@@ -11,6 +11,7 @@ use plugin_cmd::CmdPlugin;
use plugin_files::FilesPlugin; use plugin_files::FilesPlugin;
fn main() -> iced::Result { fn main() -> iced::Result {
tracing_subscriber::fmt::init();
let cfg = k_launcher_config::load(); let cfg = k_launcher_config::load();
let launcher = Arc::new(UnixAppLauncher::new()); let launcher = Arc::new(UnixAppLauncher::new());
let frecency = FrecencyStore::load(); let frecency = FrecencyStore::load();