macro_rules! log_if_false_and_debug_assert {
    ($cond:expr, $msg:expr) => { ... };
    ($cond:expr, $fmt:expr, $($arg:tt)+) => { ... };
}
Expand description

Logs an error message if the provided cond evaluates to false. Also passes the same expression and message into debug_assert!, which will panic if debug assertions are enabled.