macro_rules! error { ($($args:tt,)*) => { ... }; ($($args:tt),*) => { ... }; }
This macro works like the console.error function in javascript.
console.error
console_web::error!("a string", 42, true);