Macro mz_ore::soft_assert_or_log

source ยท
macro_rules! soft_assert_or_log {
    ($cond:expr, $($arg:tt)+) => { ... };
}
Available on crate feature test only.
Expand description

Asserts that a condition is true if soft assertions are enabled, or logs an error if soft assertions are disabled and the condition is false.