From 10e01bf989a8b684eafcda8b86d4b81be2c3a27d Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Sun, 6 Nov 2022 20:43:05 -0500 Subject: [PATCH] Remove logs I reintroduced --- leptos_macro/src/view.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/leptos_macro/src/view.rs b/leptos_macro/src/view.rs index 884df9ecb..86cb1b36c 100644 --- a/leptos_macro/src/view.rs +++ b/leptos_macro/src/view.rs @@ -276,21 +276,21 @@ fn element_to_tokens( quote_spanned! { span => let #this_el_ident = #debug_name; let #this_el_ident = #parent.clone().unchecked_into::(); - log::debug!("=> got {}", #this_el_ident.node_name()); + //debug!("=> got {}", #this_el_ident.node_name()); } } else if let Some(prev_sib) = &prev_sib { quote_spanned! { span => let #this_el_ident = #debug_name; - log::debug!("next_sibling ({})", #debug_name); + //log::debug!("next_sibling ({})", #debug_name); let #this_el_ident = #prev_sib.next_sibling().unwrap_throw(); - log::debug!("=> got {}", #this_el_ident.node_name()); + //log::debug!("=> got {}", #this_el_ident.node_name()); } } else { quote_spanned! { span => let #this_el_ident = #debug_name; - log::debug!("first_child ({})", #debug_name); + //log::debug!("first_child ({})", #debug_name); let #this_el_ident = #parent.first_child().unwrap_throw(); - log::debug!("=> got {}", #this_el_ident.node_name()); + //log::debug!("=> got {}", #this_el_ident.node_name()); } }; navigations.push(this_nav); @@ -809,15 +809,15 @@ fn component_to_tokens( let starts_at = if let Some(prev_sib) = prev_sib { quote::quote! {{ - log::debug!("starts_at = next_sibling"); + //log::debug!("starts_at = next_sibling"); #prev_sib.next_sibling().unwrap_throw() - log::debug!("ok starts_at"); + //log::debug!("ok starts_at"); }} } else { quote::quote! {{ - log::debug!("starts_at first_child"); + //log::debug!("starts_at first_child"); #parent.first_child().unwrap_throw() - log::debug!("starts_at ok"); + //log::debug!("starts_at ok"); }} };