Dancer::Logger::Pipe - pipe-based logging engine for Dancer
Used to pipe the logs from Dancer. This requires some additional settings.
logger: pipe pipe: command: "/usr/bin/cronolog /var/log/dancer/%Y/%m/%d/dancer.log"
This is a pipe-based logging engine that allows you to pipe your log output
This method is called when ->new() is called. It opens the pipe for writing.
->new()
Writes the log message to the pipe.
Moshe Good
Copyright 2010 Moshe Good.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Dancer::Logger::Pipe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Logger::Pipe
CPAN shell
perl -MCPAN -e shell install Dancer::Logger::Pipe
For more information on module installation, please visit the detailed CPAN module installation guide.