macro_rules! warn { ($($t:tt)*) => { ... }; }
Uses println!()-style formatting to log warnings to the console (in the browser) or via eprintln!() (if not in the browser).
println!()
eprintln!()