Browse Source

Make log message in Link component trace level, not debug

All the other routing-related messages are at the trace level. Leaving this at
debug was an oversight on my part.
Dave Rolsky 3 năm trước cách đây
mục cha
commit
72c6bb3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/router/src/components/link.rs

+ 1 - 1
packages/router/src/components/link.rs

@@ -41,7 +41,7 @@ pub struct LinkProps<'a> {
 }
 
 pub fn Link<'a>(cx: Scope<'a, LinkProps<'a>>) -> Element {
-    log::debug!("render Link to {}", cx.props.to);
+    log::trace!("render Link to {}", cx.props.to);
     if let Some(service) = cx.consume_context::<RouterService>() {
         return cx.render(rsx! {
             a {