macro_rules! log { ($($args:tt,)*) => { ... }; ($($args:tt),*) => { ... }; }
This macro works like the console.log function in javascript.
console.log
console_web::log!("a string", 42, true);