leo_logger is a logging library for LeoFS and other Erlang applications. It has plugin-mechanism.