A logger for the wasm32-unknown-unknown target that prints all messages to the web console
```rust
extern crate log; extern crate webconsolelogger; extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;
fn main() { webconsolelogger::init().unwrap(); // OR // webconsolelogger::initwithlevel(log::Level::Warn).unwrap();
warn!("This example message will be printed to the web browser's javascript console.");
} ```
Web Console Logger is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Web Console Logger by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.