Files @ d23010006486
Branch filter:

Location: CSY/reowolf/src/macros.rs

d23010006486 330 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
Christopher Esterhuyse
bugfix: increment round index on recovery to avoid mixing messages once we switch away from tcp. refactoring communication internals to simplify bookkeeping structures. more consts in tests to make them terser
macro_rules! endptlog {
    ($logger:expr, $($arg:tt)*) => {{
    	if cfg!(feature = "endpoint_logging") {
	        let w = $logger.line_writer();
	        let _ = writeln!(w, $($arg)*);
	    }
    }};
}
macro_rules! log {
    ($logger:expr, $($arg:tt)*) => {{
        let _ = writeln!($logger.line_writer(), $($arg)*);
    }};
}