A logging framework for Erlang/OTP
Lager is a logging framework for Erlang/OTP applications that provides traditional Unix-style logging capabilities compatible with tools like logrotate and syslog. Built in Erlang, the framework offers fine-grained log levels (debug, info, notice, warning, error, critical, alert, emergency) and uses parse transforms to capture module, function, line, and process information at compile time. It supports multiple backends including console and file output, multiple sinks for flexible log routing, and includes features like log rotation, custom formatting, overload protection, and integration with Erlang's error logger. The project is maintained by an active open-source community with monthly triage meetings and welcomes contributions.