notan_log 0.2.1

Provides a multipatform log support for Notan
Documentation
1
2
3
4
5
6
7
8
9
10
#![cfg(target_arch = "wasm32")]
#![allow(clippy::unused_unit)]

use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern "C" {
    #[wasm_bindgen(js_namespace = console, js_name = error)]
    pub fn console_error(s: &str);
}