macro_rules! log_assert_eq {
($left:expr, $right:expr) => { ... };
($left:expr, $right:expr,) => { ... };
($left:expr, $right:expr, $($arg:tt)+) => { ... };
}Expand description
Will log and panic when condition not met.
The arguments are like core::assert_eq!().
ยงExamples:
use captains_log::*;
log_assert_eq!(1, 1);
log_assert_eq!(1, 1, "impossible things happened");