1use wasm_bindgen::prelude::*; 2 3#[wasm_bindgen] 4extern "C" { 5 #[wasm_bindgen(js_namespace = console)] 6 pub fn log(s: &str); 7 #[wasm_bindgen(js_namespace = console)] 8 pub fn error(s: &str); 9}