Moshe Good

NAME

Dancer::Logger::Pipe - pipe-based logging engine for Dancer

SYNOPSIS

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"

DESCRIPTION

This is a pipe-based logging engine that allows you to pipe your log output

METHODS

init

This method is called when ->new() is called. It opens the pipe for writing.

_log

Writes the log message to the pipe.

AUTHOR

Moshe Good

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.