Commit 26547c3c authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

Change log level

parent d1accf2c
...@@ -22,7 +22,7 @@ where ...@@ -22,7 +22,7 @@ where
RF: 'a + Future<Output = Result<(JsValue, bool)>> + Send, RF: 'a + Future<Output = Result<(JsValue, bool)>> + Send,
F: 'a + Fn(JsValue) -> RF + Sync, F: 'a + Fn(JsValue) -> RF + Sync,
{ {
let span = tracing::info_span!("link", steps = tracing::field::Empty); let span = tracing::trace_span!("link", steps = tracing::field::Empty);
val.normalize(); val.normalize();
let (val, steps) = async { let (val, steps) = async {
link_internal_iterative( link_internal_iterative(
......
...@@ -1054,7 +1054,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1054,7 +1054,7 @@ pub async fn analyse_ecmascript_module_internal(
"unexpected Effect::Unreachable in tracing mode" "unexpected Effect::Unreachable in tracing mode"
); );
let _tracing_span = tracing::info_span!("handle unreachable").entered(); let _tracing_span = tracing::trace_span!("handle unreachable").entered();
analysis analysis
.add_code_gen(Unreachable::new(AstPathRange::StartAfter(start_ast_path))); .add_code_gen(Unreachable::new(AstPathRange::StartAfter(start_ast_path)));
} }
...@@ -1220,7 +1220,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1220,7 +1220,7 @@ pub async fn analyse_ecmascript_module_internal(
} }
anyhow::Ok(()) anyhow::Ok(())
} }
.instrument(tracing::info_span!("handle conditional")) .instrument(tracing::trace_span!("handle conditional"))
.await?; .await?;
} }
Effect::Call { Effect::Call {
...@@ -1255,7 +1255,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1255,7 +1255,7 @@ pub async fn analyse_ecmascript_module_internal(
) )
.await .await
} }
.instrument(tracing::info_span!("handle call")) .instrument(tracing::trace_span!("handle call"))
.await?; .await?;
} }
Effect::MemberCall { Effect::MemberCall {
...@@ -1329,7 +1329,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1329,7 +1329,7 @@ pub async fn analyse_ecmascript_module_internal(
} }
anyhow::Ok(()) anyhow::Ok(())
} }
.instrument(tracing::info_span!("handle member call")) .instrument(tracing::trace_span!("handle member call"))
.await?; .await?;
} }
Effect::FreeVar { Effect::FreeVar {
...@@ -1361,7 +1361,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1361,7 +1361,7 @@ pub async fn analyse_ecmascript_module_internal(
} }
anyhow::Ok(()) anyhow::Ok(())
} }
.instrument(tracing::info_span!("handle free var")) .instrument(tracing::trace_span!("handle free var"))
.await?; .await?;
} }
Effect::Member { Effect::Member {
...@@ -1384,7 +1384,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1384,7 +1384,7 @@ pub async fn analyse_ecmascript_module_internal(
handle_member(&ast_path, obj, prop, span, analysis_state, analysis).await?; handle_member(&ast_path, obj, prop, span, analysis_state, analysis).await?;
anyhow::Ok(()) anyhow::Ok(())
} }
.instrument(tracing::info_span!("handle member")) .instrument(tracing::trace_span!("handle member"))
.await?; .await?;
} }
Effect::ImportedBinding { Effect::ImportedBinding {
...@@ -1440,7 +1440,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1440,7 +1440,7 @@ pub async fn analyse_ecmascript_module_internal(
anyhow::Ok(()) anyhow::Ok(())
} }
.instrument(tracing::info_span!("handle imported binding")) .instrument(tracing::trace_span!("handle imported binding"))
.await?; .await?;
} }
Effect::TypeOf { Effect::TypeOf {
...@@ -1456,7 +1456,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1456,7 +1456,7 @@ pub async fn analyse_ecmascript_module_internal(
handle_typeof(&ast_path, arg, span, analysis_state, analysis).await?; handle_typeof(&ast_path, arg, span, analysis_state, analysis).await?;
anyhow::Ok(()) anyhow::Ok(())
} }
.instrument(tracing::info_span!("handle typeof")) .instrument(tracing::trace_span!("handle typeof"))
.await?; .await?;
} }
Effect::ImportMeta { Effect::ImportMeta {
...@@ -1476,7 +1476,7 @@ pub async fn analyse_ecmascript_module_internal( ...@@ -1476,7 +1476,7 @@ pub async fn analyse_ecmascript_module_internal(
analysis.add_code_gen(ImportMetaRef::new(ast_path.into())); analysis.add_code_gen(ImportMetaRef::new(ast_path.into()));
anyhow::Ok(()) anyhow::Ok(())
} }
.instrument(tracing::info_span!("handle import meta")) .instrument(tracing::trace_span!("handle import meta"))
.await?; .await?;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment