lagos_logger
A simple, pretty, and lightweight logger for Rust.
Installation
To add this to your Cargo project with the default timestamp support, run:
Optional Timestamps (Features)
By default, lagos_logger includes timestamps in its output. If you want to disable timestamps (which removes the chrono dependency for faster compilation and a smaller binary), you can disable default features:
Usage
Import the logger! macro and use one of the built-in log types: Info, Warn, Error, Running, or Success. It works just like println! or format! for variables.
use logger;