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

@ -11,7 +11,8 @@ tracing.workspace = true
futures = "0.3"
zbus.workspace = true
log = "0.4"
pretty_env_logger = "0.5"
tracing-subscriber.workspace = true
tracing-log.workspace = true
# Application i18n
i18n-embed = { version = "0.13.4", features = ["fluent-system", "desktop-requester"] }
i18n-embed-fl = "0.6.4"

View file

@ -17,7 +17,8 @@ use crate::config::{PROFILE, VERSION};
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);