
Speak-Easy
Speak-Easy is a Rust library that provides logging functionalities with different levels and rotation options built on top of tokio-rs tracing.
Features
- Different log levels
- Log rotation options
- Cleanup functionality
Usage
First, add the following to your Cargo.toml:
[]
= "0.1.1"
= { = ["macros", "rt-multi-thread"], = "1.37.0" }
Then, use the library in your code like this:
use SpeakEasy;
use ;
use ;
async
Please replace "/path/to/log/files" with the actual path where you want to store your log files.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Feel free to open issues and send PRs. We will evaluate them together in the comment section.