Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
72c6bb3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {