Make the log macro's definition more consise

This commit is contained in:
Michael Mikovsky
2026-02-20 14:34:32 -07:00
parent 219c7254fb
commit 6c6625e9ad
6 changed files with 44 additions and 80 deletions
+6 -4
View File
@@ -1,6 +1,8 @@
#![macro_use]
extern crate unshell;
use unshell::{
Value, info,
logger::{Record, log},
obfuscate::{junk_asm, symbol},
tree::{Tree, TreeElement, symbols},
};
@@ -31,9 +33,9 @@ fn test123(manager: &mut Tree) -> bool {
let is_null = result.is_null();
if let Ok(result) = serde_json::from_value::<Record>(result) {
log(&result);
}
// if let Ok(result) = serde_json::from_value::<Record>(result) {
// log(&result);
// }
is_null