Skip to main content

test_warn

Macro test_warn 

Source
macro_rules! test_warn {
    ($logger:expr, $cat:literal, $($arg:tt)*) => { ... };
}
Expand description

Log a warning event to a test logger.

§Example

test_warn!(logger, "timeout", "Operation took {}ms", elapsed);