@@ -974,7 +974,7 @@ impl VisitMut for Generator {
974
974
}
975
975
}
976
976
977
- #[ tracing:: instrument( skip_all) ]
977
+ #[ tracing:: instrument( level= "debug" , skip_all) ]
978
978
fn visit_mut_stmt ( & mut self , node : & mut Stmt ) {
979
979
match node {
980
980
Stmt :: Break ( b) => {
@@ -3089,7 +3089,7 @@ impl Generator {
3089
3089
} ) ;
3090
3090
}
3091
3091
3092
- #[ tracing:: instrument( skip( self ) ) ]
3092
+ #[ tracing:: instrument( level= "debug" , skip( self ) ) ]
3093
3093
fn try_enter_label ( & mut self , op_index : usize ) {
3094
3094
if self . label_offsets . is_none ( ) {
3095
3095
return ;
@@ -3143,7 +3143,7 @@ impl Generator {
3143
3143
}
3144
3144
3145
3145
/// Tries to enter or leave a code block.
3146
- #[ tracing:: instrument( skip( self ) ) ]
3146
+ #[ tracing:: instrument( level= "debug" , skip( self ) ) ]
3147
3147
fn try_enter_or_leave_block ( & mut self , op_index : usize ) {
3148
3148
if let Some ( blocks) = & self . blocks {
3149
3149
while self . block_index < self . block_actions . as_ref ( ) . unwrap ( ) . len ( )
@@ -3210,7 +3210,7 @@ impl Generator {
3210
3210
3211
3211
/// Writes an operation as a statement to the current label's statement
3212
3212
/// list.
3213
- #[ tracing:: instrument( skip( self ) ) ]
3213
+ #[ tracing:: instrument( level= "debug" , skip( self ) ) ]
3214
3214
fn write_operation ( & mut self , op_index : usize ) {
3215
3215
if cfg ! ( debug_assertions) {
3216
3216
debug ! ( "Writing operation {}" , op_index) ;
0 commit comments