pub(crate) fn exit(code: i32) -> !
Flushes buffered log outputs, then exits. Use instead of std::process::exit.
std::process::exit