fix: logging and use dbus config subscription in audio applet

This commit is contained in:
Ashley Wulber 2024-01-18 18:16:37 -05:00 • committed by Ashley Wulber
parent 85e4e65eb8
commit 6851d9de54
20 changed files with 63 additions and 139 deletions

View file

@ -12,7 +12,8 @@ libcosmic.workspace = true
cosmic-time.workspace = true
futures = "0.3"
log = "0.4"
pretty_env_logger = "0.5"
tracing-subscriber.workspace = true
tracing-log.workspace = true
itertools = "0.10.3"
slotmap = "1.0.6"
tokio = { version = "1.15.0", features = ["full"] }

View file

@ -12,7 +12,8 @@ use crate::localize::localize;
fn main() -> cosmic::iced::Result {
// Initialize logger
pretty_env_logger::init();
tracing_subscriber::fmt::init();
let _ = tracing_log::LogTracer::init();
info!("Iced Workspaces Applet ({})", APP_ID);
info!("Version: {} ({})", VERSION, PROFILE);