3 releases
new 0.1.2 | Feb 19, 2025 |
---|---|
0.1.1 | Feb 18, 2025 |
0.1.0 | Feb 17, 2025 |
#4 in #null-net
46 downloads per month
9KB
188 lines
liblogging
Logging library for Nullnet.
It currently logs to the console and to syslog.
You can configure the log level by setting the LOG_LEVEL
environment variable. The possible log levels are:
OFF
ERROR
WARN
INFO
DEBUG
TRACE
If you don't set the LOG_LEVEL
environment variable, TRACE
will be used by default (the most verbose level).
Use this library simply by calling the Logger::init
method, and then invoking the log
macros.
Dependencies
~2–24MB
~317K SLoC