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/logger.rs | |
| parent | 168a3fd34824adc9c6a606cd144219701f15cccf (diff) | |
[Rust] Enter more session scoped tracing spans for debug info and binary view callbacks
Diffstat (limited to 'rust/src/logger.rs')
| -rw-r--r-- | rust/src/logger.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/src/logger.rs b/rust/src/logger.rs index f77cb52c..31696d25 100644 --- a/rust/src/logger.rs +++ b/rust/src/logger.rs @@ -137,6 +137,7 @@ unsafe impl Sync for Logger {} /// This is typically used in headless usage. It can also be used to temporarily log core /// messages to something like a file while some analysis is occurring, once the [`LogGuard`] is /// dropped, the listener will be unregistered. +#[must_use] pub fn register_log_listener<L: LogListener>(listener: L) -> LogGuard<L> { use binaryninjacore_sys::BNRegisterLogListener; |
