[][src]Function xpx_supercontracts_sdk::utils::debug_message

pub fn debug_message(msg: &String)

Send debug message to WasmVM. It's convenient basic function for development debugging. Message that was sent will display in WasmVM stdout as information log message. It not affect basic Supercontract execution but should be removed from release version, because it will spend Gas (unit ticks).

Examples

use xpx_supercontracts_sdk::utils::debug_message;
debug_message(&"Debug message from Supercontract".to_string());