macro_rules! msg {
    ($msg:expr) => { ... };
    ($($arg:tt)*) => { ... };
}
Expand description

Print a message to the log

Fast form:

  1. Single string: msg!("hi")

The generic form incurs a very large runtime overhead so it should be used with care: 3. Generalized format string: msg!("Hello {}: 1, 2, {}", "World", 3)