Clean up the code a little bit

This commit is contained in:
Michael Mikovsky
2025-11-24 08:45:44 -07:00
parent 11045522b8
commit 0c538e9dcf
9 changed files with 21 additions and 222 deletions
+1
View File
@@ -41,6 +41,7 @@ impl Logger for DefaultLogger {
}
pub fn set_logger_box(logger: Box<dyn Logger>) {
#[cfg(feature = "log")]
unsafe {
LOGGER = Box::leak(logger);
}