macro_rules! log {
($lvl:expr, $($arg:tt)+) => { ... };
}Expand description
Logs a message with the desired level
use forensic_rs::log;
use forensic_rs::logging::Level;
log!(Level::Info, "The artifact {} cannot be parsed", r"C:\Windows\Prefetch\POWERSHELL.EXE-AE8EDC9B.pf")