diff options
| author | Mason Reed <mason@vector35.com> | 2025-12-17 21:23:46 -0500 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2026-01-11 10:36:01 -0800 |
| commit | 168a3fd34824adc9c6a606cd144219701f15cccf (patch) | |
| tree | 9bbac31ece5ea6ab6627998d995a77f7f7e2f8e6 /rust/src/file_accessor.rs | |
| parent | ca91bc1933976c62d24248f0f7c35af38451ff11 (diff) | |
[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.
Diffstat (limited to 'rust/src/file_accessor.rs')
| -rw-r--r-- | rust/src/file_accessor.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/src/file_accessor.rs b/rust/src/file_accessor.rs index dd6626f6..54bd3eba 100644 --- a/rust/src/file_accessor.rs +++ b/rust/src/file_accessor.rs @@ -46,7 +46,6 @@ impl<A: Accessor> FileAccessor<A> { let dest = unsafe { slice::from_raw_parts_mut(dest as *mut u8, len) }; if f.seek(SeekFrom::Start(offset)).is_err() { - log::debug!("Failed to seek to offset {:x}", offset); 0 } else { f.read(dest).unwrap_or(0) |
