diff --git a/docs-src/0.7/src/guides/utilities/logging.md b/docs-src/0.7/src/guides/utilities/logging.md index 125a1c4b8..a2fdb4e4f 100644 --- a/docs-src/0.7/src/guides/utilities/logging.md +++ b/docs-src/0.7/src/guides/utilities/logging.md @@ -29,7 +29,7 @@ use tracing::Level; fn main() { // Init logger - dioxus_logger::init(Level::INFO).expect("failed to init logger"); + dioxus::logger::init(Level::INFO).expect("failed to init logger"); // Dioxus launch code dioxus::launch(|| rsx! {})