Macro pw_log::error

source ·
macro_rules! error {
    ($($args:expr),*) => { ... };
}
Expand description

Emit an error level log message using core::fmt format string semantics.

use pw_log::error;

error!(
    "Log Fact: Before saws were invented, the {} was used prepare logs for use.",
    "adze" as &str);