This repository contains a minimalist log handler for the logger OTP application.
This application is now included in erl-mlog.
Make sure to add the application as dependency in the Rebar3 configuration file. After that, the formatter is configured as any other logger handler, in the system configuration file.
Example:
[{kernel,
[{logger,
[{handler, default, log_handler,
#{level => debug,
filter_default => log}}]},
{logger_level, debug}]}].
See the logger documentation for more information.
If you find a bug or have any question, feel free to open a GitHub issue or to contact me by email.
Please note that I do not currently review or accept any contribution.