timelog
A simple timer library for logging time durations, similar to console.time in JavaScript.
Features
- Create multiple named timers
- Start, log, and end timers
- Print timing results in milliseconds
- Support for optional additional messages
Installation
Add the following line to your Cargo.toml
file:
[]
= "1.0.0"
Usage
use Timer;