3 unstable releases
0.2.1 | Jul 4, 2023 |
---|---|
0.2.0 | Jul 4, 2023 |
0.1.0 | Jul 4, 2023 |
#105 in #flexible
5KB
95 lines
Rust-Log: A simple and flexible Logging System for Rust.
We present you a simple but flexible logging system with many different levels of logging.
[LogLevel] - structure containing logging levels
[Logger] - a structure containing functions for logging.
Example
fn main() {
use rust_log::{Logger, LogLevel};
let logger = Logger::new(LogLevel::Debug);
// use macros (more comfortable)
info!(logger, "This is an info message!");
/*...*/
}
Dependencies
~1–8MB
~56K SLoC