tokio_fs_ext/console/mod.rs
1#[macro_export]
2macro_rules! log {
3 ($($arg:tt)*) => (
4 web_sys::console::log_1(&wasm_bindgen::JsValue::from(&format!($($arg)*)))
5 )
6}
7
8#[macro_export]
9macro_rules! error {
10 ($($arg:tt)*) => (
11 web_sys::console::error_1(&wasm_bindgen::JsValue::from(&format!($($arg)*)))
12 )
13}
14
15pub use error;
16pub use log;