macro_rules! soft_assert_or_log {
($cond:expr, $($arg:tt)+) => { ... };
}
Available on crate feature
assert
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.