Skip to main content

Module debug

Module debug 

Source

Functions§

error
Logs an error message, prefixing it with “error wasm” and sends it to the console in JavaScript when running in a WebAssembly environment. When running outside WebAssembly, it prints the error message to the standard output.
log
Logs a message, prefixing it with “log wasm” and sends it to the console in JavaScript when running in a WebAssembly environment. When running outside WebAssembly, it prints the message to the standard output.