chore: switch to log tracing

This commit is contained in:
Jonathan Kelley committed 2022-01-05 16:36:42 -05:00
1 parent 8994467189
commit e2a6454527
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ pub fn Route<'a>(cx: Scope<'a, RouteProps<'a>>) -> Element {
Some(RouteInner {})
});
log::debug!("Checking route {}", cx.props.to);
log::trace!("Checking route {}", cx.props.to);
if router_root.should_render(cx.scope_id()) {
cx.render(rsx!(&cx.props.children))
+1 -1
View File
@@ -47,7 +47,7 @@ impl RouterService {
_root_found.set(false);
// checking if the route is valid is cheap, so we do it
for (slot, _) in _slots.borrow_mut().iter().rev() {
log::debug!("regenerating slot {:?}", slot);
log::trace!("regenerating slot {:?}", slot);
regen(*slot);
}
});