Module casper_rust_wasm_sdk::debug

source ·

Functions§

  • 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.
  • 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.