Описание тега lager
Lager (as in the beer) is a logging framework for Erlang. Its purpose is to provide a more traditional way to perform logging in an erlang application that plays nicely with traditional UNIX logging tools like logrotate and syslog.
Lager (as in the beer) is a logging framework for erlang. Its purpose is to provide a more traditional way to perform logging in an erlang application that plays nicely with traditional UNIX logging tools like logrotate and syslog.
Features
- Finer grained log levels (debug, info, notice, warning, error, critical, alert, emergency)
- Logger calls are transformed using a parse transform to allow capturing of
Module / Function / Line / Pid information - When no handler is consuming a log level (eg. debug) no event is even sent to the log handler
- Supports multiple backends, including console and file.
- Rewrites common OTP error messages into more readable messages
- Support for pretty printing records encountered at compile time
- Tolerant in the face of large or many log messages, won't out of memory the node
- Supports internal time and date based rotation, as well as external rotation tools
- Syslog style log level comparison flags
- Colored terminal output (requires R16+)
Source: https://github.com/basho/lager