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. The log type is optional and defaults to Info if omitted. It works just like println! for variables and formatting.
use ;