Use tracing for logging
This commit is contained in:
parent
f255af9f6a
commit
4d6d771ab4
36 changed files with 260 additions and 223 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue