-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Fastlog is a very lightweight logging library, based primarily on error_logger although it can be adapted to work with other logging back ends if required. Fastlog's main claim to fame is that it does very little work between your call to the logging function and the function call running to the back end. Fastlog also completely avoids any formatting calls (e.g., to error_logger) unless you're logging at a level which has been enabled.
Other features include:
- Simple configuration API
- Multiple (named) loggers, which act as categories
Fastlog can be installed like any other OTP application. Simply build the sources (using rebar or the bundled Makefile wrapper) and link (or copy) the project directory into your ERL_LIBS environment variable. You can also install fastlog using a package manager such as epm, or sutro. For the latter, you will need to update your personal fork of the repo.