Merge pull request #2796 from bytecodealliance/pch/revert_2782

Revert "wiggle: generate a span that is present at all levels"
This commit is contained in:
Pat Hickey
2021-04-01 10:51:03 -07:00
committed by GitHub

View File

@@ -69,9 +69,8 @@ pub fn define_func(
) -> Result<#abi_ret, #rt::Trap> { ) -> Result<#abi_ret, #rt::Trap> {
use std::convert::TryFrom as _; use std::convert::TryFrom as _;
// This span is present at all levels (ERROR and below)
let _span = #rt::tracing::span!( let _span = #rt::tracing::span!(
#rt::tracing::Level::ERROR, #rt::tracing::Level::TRACE,
"wiggle abi", "wiggle abi",
module = #mod_name, module = #mod_name,
function = #func_name function = #func_name