From 6f75ca031aa7e8f7e1c706d1880b202137b1996f Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 18 Dec 2025 17:14:06 -0500 Subject: [Rust] Enter more session scoped tracing spans for debug info and binary view callbacks --- rust/src/logger.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/src/logger.rs') 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(listener: L) -> LogGuard { use binaryninjacore_sys::BNRegisterLogListener; -- cgit v1.3.1