macro_rules! assert_with_logs {
($logger:expr, $cond:expr) => { ... };
($logger:expr, $cond:expr, $($arg:tt)+) => { ... };
}Expand description
Assertion helper that includes log context on failure.
Use this instead of assert! to automatically include recent logs in
the failure message.