macro_rules! debug_and_log_error { ($category:expr, $($arg:tt)*) => { ... }; }
Emit a message to both the custom debug log (at Error level) and the standard log crate at log::error! level.
Error
log
log::error!
debug_and_log_error!("SCRIPT", "Script '{}' failed: {}", name, e);