Macro gloo_console::console
source · [−]macro_rules! console {
() => { ... };
($val:expr $(,)?) => { ... };
($($val:expr),+ $(,)?) => { ... };
}
Expand description
A macro similar to dbg!
that logs JsValue
s to console.
See the stdlib documentation to learn more. This macro calls console.log
instead of eprintln!
for JsValue
s. The formatting is done by the browser. If you want
Debug
implementation to be used instead, consider using console_dbg