Dancer2::Logger::PSGI - PSGI logger for Dancer2
version 0.01
In your Dancer's config file: logger: PSGI
In your application
log("error", "this is a error");
This class is an interface between your Dancer's application and psgix.logger. Messages will be logged in whatever logger you decided to use in your Plack handler. If no logger is defined, nothing will be logged.
Writes the log message to your defined logger.
Dancer2::Logger::PSGI - PSGI Log handler for Dancer2
The setting logger
should be set to PSGI
in order to use this logging engine in a Dancer2 application.
There is no additional setting available with this engine.
Dinis Rebolo
This software is copyright (c) 2016 by Dinis Rebolo <drebolo AT cpan DOT com>. It is released under the terms of the MIT (X11) License and may be modified and/or redistributed under the same or any compatible license.
Dinis Rebolo
This software is Copyright (c) 2016 by Dinis Rebolo.
This is free software, licensed under:
The MIT (X11) License