Macro respo::warn_log

source ·
macro_rules! warn_log {
    ($($t:tt)*) => { ... };
}
Expand description

wraps on top of web_sys::console.warn_1.

use it like:

util::warn_log!("a is {}", a);