use tracing in new logs
This commit is contained in:
1 parent
e2f50cc689
commit
6fab8963e6
3 files changed
+3
-3
No files matched your search
@@ -19,7 +19,7 @@ serde = "1.0.136"
|
||||
serde_json = "1.0.79"
|
||||
thiserror = { workspace = true }
|
||||
wry = { version = "0.28.0", default-features = false, features = ["protocol", "file-drop"] }
|
||||
tracing = { workspace = true }
|
||||
tracing.workspace = true
|
||||
futures-channel = { workspace = true }
|
||||
tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
|
||||
@@ -107,7 +107,7 @@ pub(super) fn desktop_handler(
|
||||
if let Some(assets_head) = assets_head {
|
||||
head += &assets_head;
|
||||
} else {
|
||||
log::warn!("No assets head found. You can compile assets with the dioxus-cli in release mode");
|
||||
trace::warn!("No assets head found. You can compile assets with the dioxus-cli in release mode");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ pub fn build(
|
||||
match std::fs::read_to_string(&head) {
|
||||
Ok(s) => Some(s),
|
||||
Err(err) => {
|
||||
log::error!("Failed to read {head:?}: {err}");
|
||||
trace::error!("Failed to read {head:?}: {err}");
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user