macro_rules! debug_warn {
    ($($x:tt)*) => { ... };
}
Expand description

Uses println!()-style formatting to log warnings to the console (in the browser) or via eprintln!() (if not in the browser), but only if it’s a debug build.