dioxus-logger is a (planned-to-be) feature-rich logger that uses the log crate to provide a standard interface for all your logging needs.
Current & Planned Features
- stdio logging (Web, Desktop) - Mobile to come
- Sending logs over HTTP to an API
- Logging to a file
- Timestamps
- Custom log format
- Feature flags for faster compilation
This library is under development. Expect breaking changes.
use *;
use ;
Platform Support
Dioxus Logger is supported on every platform that Dioxus supports! There are a few advanced features that will only work on a couple of targets. Specifically the HTTP logging and filesystem logging will not work on mobile targets.
Installation
You can add dioxus-logger to your application by adding it to your dependencies.
[]
= { = "x.x.x", = ["stdio"] }
License
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you, shall be licensed as MIT, without any additional terms or conditions.