Skip to main content

log_abort

Macro log_abort 

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

Logs a message at the ERROR level and then aborts the process.

ยงExample

use sclog::log_abort;
log_abort!("Unrecoverable error: {}", "security violation");