1package Dancer::Logger::Console; 2our $AUTHORITY = 'cpan:SUKRIA'; 3#ABSTRACT: console-based logging engine for Dancer 4$Dancer::Logger::Console::VERSION = '1.3513'; 5use strict; 6use warnings; 7use base 'Dancer::Logger::Abstract'; 8 9sub _log { 10 my ($self, $level, $message) = @_; 11 print STDERR $self->format_message($level => $message); 12} 13 141; 15 16__END__ 17 18=pod 19 20=encoding UTF-8 21 22=head1 NAME 23 24Dancer::Logger::Console - console-based logging engine for Dancer 25 26=head1 VERSION 27 28version 1.3513 29 30=head1 SYNOPSIS 31 32=head1 DESCRIPTION 33 34This is a console-based logging engine that prints your logs to the console. 35 36=head1 METHODS 37 38=head2 _log 39 40Writes the log message to the console/screen. 41 42=head1 AUTHOR 43 44Dancer Core Developers 45 46=head1 COPYRIGHT AND LICENSE 47 48This software is copyright (c) 2010 by Alexis Sukrieh. 49 50This is free software; you can redistribute it and/or modify it under 51the same terms as the Perl 5 programming language system itself. 52 53=cut 54