The Rovella Logger
This is a simple low overhead logger than uses eprintln
and println
with format
to log text and other data.
Examples
The fatal macro is shown below and the other macros follow this pattern
The macro can be used just like println but it gives some extra info (along with color)
log_fatal!; // output => [src\main.rs:2] [FATAL]: Fatal error with code: 4
log_fatal!; // output => [src\main.rs:3] [FATAL]: Fatal