fix: logging and use dbus config subscription in audio applet
This commit is contained in:
parent
85e4e65eb8
commit
6851d9de54
20 changed files with 63 additions and 139 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue