chore(cargo): replace log dependency with tracing
This commit is contained in:
parent
074d962ae9
commit
32229c16f0
10 changed files with 10 additions and 22 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue