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
|
|
@ -13,7 +13,8 @@ cosmic-time.workspace = true
|
|||
futures = "0.3"
|
||||
zbus.workspace = true
|
||||
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"] }
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue