Macro log

Source
macro_rules! log {
    ($($t:tt)*) => { ... };
}
Expand description

Prints out the given string regardless of build target.

If build target is wasm32, this macro calls web_sys::console::log_1. Otherwise println is called.