2 releases
0.1.1 | Sep 4, 2024 |
---|---|
0.1.0 | Sep 3, 2024 |
#880 in Debugging
8KB
164 lines
Simple Color Log
This is a simple logger that uses standard log levels and prints the file name, line number, and timestamp for each log message. The log levels are as follows:
- FATAL
- ERROR
- WARN
- INFO
- DEBUG
- TRACE
The logger's level is set through the feature flags. These are the allowed feature flags:
error
warn
info
debug
trace
The logger will only print messages that are at or above the level set by the feature flag. The default level is info
.
Dependencies
~775KB
~14K SLoC