switch to tracing for logging
This commit is contained in:
1 parent
c8127e164b
commit
c55c17cb81
50 files changed
+95
-78
No files matched your search
@@ -194,7 +194,7 @@ impl DesktopService {
|
||||
/// launch print modal
|
||||
pub fn print(&self) {
|
||||
if let Err(e) = self.webview.print() {
|
||||
log::warn!("Open print modal failed: {e}");
|
||||
tracing::warn!("Open print modal failed: {e}");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -209,7 +209,7 @@ impl DesktopService {
|
||||
self.webview.open_devtools();
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
log::warn!("Devtools are disabled in release builds");
|
||||
tracing::warn!("Devtools are disabled in release builds");
|
||||
}
|
||||
|
||||
/// Create a wry event handler that listens for wry events.
|
||||
|
||||
Reference in new issue
Block a user