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

@ -26,7 +26,8 @@ tracing = "0.1"
ron = "0.8"
sendfd = { version = "0.4", features = ["tokio"] }
bytemuck = "1"
tracing-subscriber = "0.3"
tracing-subscriber.workspace = true
tracing-log.workspace = true
zbus.workspace = true
# Application i18n
i18n-embed = { version = "0.13.4", features = [

View file

@ -32,6 +32,7 @@ use tracing::info;
#[tokio::main(flavor = "current_thread")]
pub async fn main() -> cosmic::iced::Result {
tracing_subscriber::fmt::init();
let _ = tracing_log::LogTracer::init();
// Prepare i18n
localize::localize();