This class is an interface between Dancer's logging engine abstraction layer and the Log::Handler module.
In order to use this engine, set the following setting as follow:
logger: 'log_handler'
This can be done in your config.yml file or directly in your app code with the set keyword
The default configuration of this module is to write log message on STDERR. You can change this behavior by adding a similar configuration:
log_handler: file: filename: debug.log maxlevel: debug minlevel: warning screen: log_to: "STDERR" maxlevel: debug minlevel: warning
Dancer, Log::Handler
This module has been written by Franck Cuny
This module is free software and is released under the same terms as Perl itself.
To install Dancer::Logger::LogHandler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Logger::LogHandler
CPAN shell
perl -MCPAN -e shell install Dancer::Logger::LogHandler
For more information on module installation, please visit the detailed CPAN module installation guide.