3 stable releases
1.0.2 | Oct 19, 2022 |
---|---|
1.0.1 | Oct 5, 2022 |
1.0.0 | Oct 1, 2022 |
#575 in Debugging
27KB
423 lines
cat-loggr-rs
A simple, lightweight utility for making beautiful logs, based on cat-loggr
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
About The Project
A simple, lightweight utility for making beautiful logs, based on cat-loggr
Usage
use cat_loggr::CatLoggr;
fn main() {
let logger = CatLoggr::new(None);
logger.log("This is a log", "info");
}
For more examples, please refer to the Documentation
Default Log Levels
- fatal
- error
- warn
- trace
- init
- info
- verbose
- debug
Roadmap
- Feature parity
- Custom log levels
- After hooks
- Level threshold
- Pre-hook
- Argument hooks
- Meta
- Color option
- Macro for panics
- Tests
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Project Link: https://github.com/Sven65/cat-loggr-rs
Acknowledgments
Dependencies
~1.5MB
~20K SLoC