macro_rules! msgf {
($port:expr, [ $($arg:tt)* ]) => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Send a debug message to the remote viewer (with flush)
// Default port
let world = "world!";
rdbg::msgf!("Hello {}", world);
flush();
// Custom port
let debug = rdbg::port(5000);
rdbg::msgf!(&debug, ["Hello {}", world]);
debug.flush();