Files @ 8278ae29364e
Branch filter:

Location: CSY/reowolf/src/macros.rs - annotation

8278ae29364e 386 B application/rls-services+xml Show Source Show as Raw Download as Raw
Christopher Esterhuyse
adopt Reo's naming conventions for canonical protocols, e.g., replicator2
macro_rules! endptlog {
    ($logger:expr, $($arg:tt)*) => {{
    	if cfg!(feature = "endpoint_logging") {
	        if let Some(w) = $logger.line_writer() {
	        	let _ = writeln!(w, $($arg)*);
	        }
	    }
    }};
}
macro_rules! log {
    ($logger:expr, $($arg:tt)*) => {{
    	if let Some(w) = $logger.line_writer() {
        	let _ = writeln!(w, $($arg)*);
    	}
    }};
}