Use tracing for logging

This commit is contained in:
Sophie Herold 2025-12-18 23:15:46 +01:00
parent f255af9f6a
commit 4d6d771ab4
36 changed files with 260 additions and 223 deletions

View file

@ -25,7 +25,7 @@ pub trait ParentWindow: WidgetExt {
let result = self.root().and_downcast();
if result.is_none() {
log::error!(
tracing::error!(
"Couldn't find LpWindow for {self:?}. mapped={}. caller={}",
self.is_mapped(),
std::panic::Location::caller(),
@ -40,7 +40,7 @@ pub trait ParentWindow: WidgetExt {
let result = self.root().and_downcast();
if result.is_none() {
log::error!(
tracing::error!(
"Couldn't find LpWindow for {self:?}. mapped={}. caller={}",
self.is_mapped(),
std::panic::Location::caller(),