From 168a3fd34824adc9c6a606cd144219701f15cccf Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 17 Dec 2025 21:23:46 -0500 Subject: [Rust] Replace `log` with `tracing` - Added more documentation - Replaced global named logger for plugins, fixing the issue when the CU has multiple (e.g. statically linked demo) - Simplified some misc code This is a breaking change, but I believe there is no better time to make it, we cannot continue to use the `log` crate, it is too limited for our needs. --- rust/src/low_level_il/expression.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rust/src/low_level_il/expression.rs') diff --git a/rust/src/low_level_il/expression.rs b/rust/src/low_level_il/expression.rs index 1e4ab21b..8103518c 100644 --- a/rust/src/low_level_il/expression.rs +++ b/rust/src/low_level_il/expression.rs @@ -536,8 +536,7 @@ where } _ => { - // #[cfg(debug_assertions)] - log::error!( + tracing::error!( "Got unexpected operation {:?} in value expr at 0x{:x}", op.operation, op.address -- cgit v1.3.1