error

Macro error 

Source
macro_rules! error {
    ($($arg:tt)+) => { ... };
}
Expand description

Logs a message at the error level.

use forensic_rs::error;
error!("The artifact {} cannot be parsed", r"C:\Windows\Prefetch\POWERSHELL.EXE-AE8EDC9B.pf")