owasm_debug/
lib.rs

1extern crate owasm_std;
2use owasm_std::types::H256;
3
4static LOG_TOPIC: [u8; 32] = [
5    255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
6    255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254,
7];
8
9pub fn log(message: &str) {
10    owasm_std::ext::log(&[LOG_TOPIC.into()], message.as_bytes());
11}