diff options
| author | Mason Reed <mason@vector35.com> | 2025-12-18 17:14:06 -0500 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2026-01-11 10:36:01 -0800 |
| commit | 6f75ca031aa7e8f7e1c706d1880b202137b1996f (patch) | |
| tree | 1fe8e778f98e4390a1075fc402047e23f2128934 /rust/src/ffi.rs | |
| parent | 168a3fd34824adc9c6a606cd144219701f15cccf (diff) | |
[Rust] Enter more session scoped tracing spans for debug info and binary view callbacks
Diffstat (limited to 'rust/src/ffi.rs')
| -rw-r--r-- | rust/src/ffi.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/ffi.rs b/rust/src/ffi.rs index b6124dd4..d1c63216 100644 --- a/rust/src/ffi.rs +++ b/rust/src/ffi.rs @@ -20,7 +20,7 @@ macro_rules! ffi_wrap { use std::process; panic::catch_unwind(|| $b).unwrap_or_else(|_| { - tracing::error!("ffi callback caught panic: {}", $n); + ::tracing::error!("ffi callback caught panic: {}", $n); process::abort() }) }}; @@ -37,10 +37,10 @@ macro_rules! ffi_span { use $crate::binary_view::BinaryViewExt; #[allow(unused_imports)] use $crate::file_metadata::FileMetadata; - tracing::info_span!($name, session_id = $bv.file().session_id().0).entered() + ::tracing::info_span!($name, session_id = $bv.file().session_id().0).entered() }}; ($name:expr) => { - tracing::info_span!($name).entered() + ::tracing::info_span!($name).entered() }; } |
