pub fn ConsoleLog(buffer: &[u8]) -> Result<(), SysErr>Expand description
Logs the input buffer to the console. This is a no-op on release builds or when deployed on-chain. This will not cause an error if a contract inadvertently includes this syscall in a production contract deployment (if, for example, a contract built in debug mode is uploaded), but there is no reason to do so.
ยงArguments
buffer
This is a convenience wrapper around uninit_ConsoleLog that returns the result as SyscallResult<T>.