my_logger-0.1.2 has been yanked.
My Logger Crate
My Logger is a custom logging crate for Rust that provides a simple log! macro to log messages to a file with timestamps.
Installation
Add this crate to your Cargo.toml:
[]
= "0.1.0" # Replace with the latest version available
Usage
First, import the log! macro from the crate:
use log;
Then, you can use the log! macro to log messages:
The log messages will be written to a file named "file.log" in the current directory, and each log entry will include a timestamp.