macro_rules! log { ($($t:tt)*) => { ... }; }
wraps on top of web_sys::console.log_1, use it like:
web_sys::console.log_1
util::log!("a is {}", a);