chore(cargo): replace log dependency with tracing

This commit is contained in:
Michael Aaron Murphy 2024-03-15 14:49:33 +01:00 committed by Jeremy Soller
parent 074d962ae9
commit 32229c16f0
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
10 changed files with 10 additions and 22 deletions

View file

@ -14,7 +14,6 @@ i18n-embed.workspace = true
i18n-embed-fl.workspace = true
itertools = "0.12.1"
libcosmic.workspace = true
log = "0.4"
nix.workspace = true
once_cell = "1.19"
rand = "0.8.5"

View file

@ -1236,8 +1236,8 @@ impl cosmic::Application for CosmicAppList {
}),
rectangle_tracker_subscription(0).map(|update| Message::Rectangle(update.1)),
self.core.watch_config(APP_ID).map(|u| {
for err in u.errors {
log::error!("Error watching config: {}", err);
for why in u.errors {
tracing::error!(why = why.to_string(), "Error watching config");
}
Message::ConfigUpdated(u.config)
}),