macro_rules! fatal {
($module:expr, $($arg:tt)+) => { ... };
}Expand description
Emits a fatal log entry through the global logging service.
Use this level for critical failures that indicate the server may be in an
unrecoverable state: the vault directory is missing at startup, a background
task has panicked, or a grace period has timed out. A Fatal entry does not
automatically terminate the process; the caller is responsible for deciding
whether to initiate shutdown.
This macro is a complete no-op if the logger has not been initialized.
See info! for parameter documentation and general behaviour.
§Usage
ⓘ
fatal!(Module::Server, "grace period timed out, forcefully terminating: {}", e);