The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dancer::Logger::Abstract - Abstract logging engine for Dancer

SYNOPSIS

DESCRIPTION

This is an abstract logging engine that provides loggers with basic functionality and some sanity checking.

METHODS

format_message

Provides a common message formatting.

core

Logs messages as core.

debug

Logs messages as debug.

warning

Logs messages as warning.

error

Logs messages as error.

_log

A method to override. If your logger does not provide this, it will cause the application to die.

_should

Checks a certain level number against a certain level type (core, debug, warning, error).

AUTHOR

Alexis Sukrieh

LICENSE AND COPYRIGHT

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.