mz_ore

Macro exit

Source
macro_rules! exit {
    ($exit_code:literal, $($arg:expr),* $(,)?) => { ... };
}
Available on crate feature tracing_ only.
Expand description

Prints the given message and exits the process.

exit! forwards the provided arguments to the tracing::info macro, then terminates the process with given exit code.