Macro edjx::fatal

source ·
macro_rules! fatal {
    ($($arg:tt)+) => { ... };
}
Expand description

Logs a message at the fatal level.

Example

use edjx::fatal;

let (fatal_info, port) = ("Failed connection", 22);

error!("Fatal: {} on port {}", fatal_info, port);
error!(target: "app_events", "App Error: {}, Port: {}", fatal_info, port);