| Dancer documentation | Contained in the Dancer distribution. |
Dancer::Logger::Console - console-based logging engine for Dancer
This is a console-based logging engine that prints your logs to the console.
Writes the log message to the console/screen.
Alexis Sukrieh
Copyright 2009-2010 Alexis Sukrieh.
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.
| Dancer documentation | Contained in the Dancer distribution. |
package Dancer::Logger::Console; use strict; use warnings; use base 'Dancer::Logger::Abstract'; sub _log { my ($self, $level, $message) = @_; print STDERR $self->format_message($level => $message); } 1; __END__