macro_rules! log {
{ $($expr:expr),* $(,)? } => { ... };
}
Expand description
A convenience function for logging to the web browser’s console. We use a macro to supplement the log function to allow multiple inputs.
NOTE: log!
also accepts entities which don’t implement Debug
on nightly
Rust.
It’s useful because you don’t have to add Debug
bound to many places - implementation for
logged entity is enough.