Skip to main content Skip to main content
Pigweed's logo Pigweed
  1. Home
  2. Reference
  3. Rust
  4. pw_log
  5. fatal

fatal

Macro fatal 

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

Emit a fatal level log message using core::fmt format string semantics.

Note: fatal only emits a log message and does not cause a panic!()

use pw_log::fatal;

fatal!("Log Fact: All out of log facts! Timber!");