Module console

Source
Expand description

Select functions (with rust-native parameter types) from the emscripten console.h header file.

Functionsยง

dbg
Prints the given string using the emscripten-defined dbg() JS function.
err
Prints the given string using the emscripten-defined err() JS function.
error
Prints the given string using the console.error() function.
log
Prints the given string using the console.log() JS function.
out
Prints the given string using the emscripten-defined out() JS function.
warn
Prints the given string using the console.warn() JS function.