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.
Writes the log message to the pipe.
LICENSE AND COPYRIGHT
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.