tulip.pkg.log module exports the
log package. It registers a logging backend in JSON format.
Registering this package provides the following method and field extensions.
Sets the minimum log level to consider for all logging backends. Once the app is activated (in the call to app:run), if the level is a string, it is converted to a number.
The following middleware are registered and can be referenced by name in the configuration.
Registered if the tulip.pkg.middleware package is registered. Logs web requests.
The following wmiddleware (worker middleware) are registered and can be referenced by name in the configuration.
Registered if the tulip.pkg.wmiddleware package is registered. Logs processed worker messages.