pub fn init(config: Config)Expand description
Initialize the logger which the given config. If failed, it will log a message to the the browser console.
ยงExamples
wasm_log::init(wasm_log::Config::new(log::Level::Debug));or
wasm_log::init(wasm_log::Config::new(log::Level::Debug).module_prefix("some::module"));