Files @ 6c04a99de862
Branch filter:

Location: CSY/reowolf/src/macros.rs

6c04a99de862 386 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
Christopher Esterhuyse
fleshed out socket api. did bugfix: proto components remember whether they did put/get
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)*);
    	}
    }};
}