Skip to content

Commit

Permalink
Convert logs to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Jan 31, 2025
1 parent 203e59d commit 483e541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/native/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ impl NetProvider for DioxusNativeNetProvider {
if request.url.scheme() == "dioxus" {
match dioxus_asset_resolver::serve_asset_from_raw_path(request.url.path()) {
Ok(res) => {
println!("fetching asset from file system success {request:#?}");
tracing::trace!("fetching asset from file system success {request:#?}");
handler.bytes(doc_id, res.into_body().into(), self.callback.clone())
}
Err(_) => {
println!("fetching asset from file system error {request:#?}");
tracing::warn!("fetching asset from file system error {request:#?}");
}
}
} else {
Expand Down

0 comments on commit 483e541

Please sign in to comment.