@@ -75,3 +75,4 @@ wasm-logger = "0.2.0"
gloo-timers = "0.2.3"
gloo-dialogs = "0.1.1"
dioxus-web = { path = ".", features = ["hydrate"] }
+tracing-wasm = "0.2.1"
@@ -43,7 +43,7 @@ fn Bapp(cx: Scope) -> Element {
fn main() {
console_error_panic_hook::set_once();
- wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
+ tracing_wasm::set_as_global_default();
let mut dom = VirtualDom::new(app);
let _ = dom.rebuild();