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
@@ -23,7 +23,7 @@ pub fn server_cached<O: 'static + Serialize + DeserializeOwned>(server_fn: impl
|
||||
let data = server_fn();
|
||||
let sc = crate::prelude::server_context();
|
||||
if let Err(err) = sc.push_html_data(&data) {
|
||||
log::error!("Failed to push HTML data: {}", err);
|
||||
tracing::error!("Failed to push HTML data: {}", err);
|
||||
}
|
||||
data
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user