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

critical

Macro critical 

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

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

use pw_log::critical;

critical!(
    "Log Fact: Until the {}th century, all ships' masts were made from a single log.",
    19 as u32);