Macro gloo_console::console_dbg
source · macro_rules! console_dbg { () => { ... }; ($val:expr $(,)?) => { ... }; ($($val:expr),+ $(,)?) => { ... }; }
Expand description
A macro similar to dbg!
to log to browser console.
See the stdlib documentation to learn more. This macro calls console.log
instead of eprintln!
. This macro passing the values to console
after formatting them using
the Debug
implementation.