Expand description
This is a custom logging library for Rust.
It provides a log!
macro to log messages to a file with timestamps.
Example:
use my_logger::log;
fn main() {
log!("This is a log message.");
log!("Another log message with a value: {}", 42);
}
The log messages will be written to a file named “file.log” in the current directory.
Re-exports
pub use logger::*;
Modules
- Logs a message to a file with a timestamp.
Macros
- This is a custom logging library for Rust. Logs a message to a file with a timestamp.