עידו פרלמוטר (Ido Perlmuter) > Leyland > Leyland::Logger::STDERR

Download:
Leyland-0.001007.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Leyland::Logger::STDERR - Default logger, logs to STDERR

VERSION ^

version 0.001007

SYNOPSIS ^

        # this is the default Leyland logger, to use it, just don't define
        # a logger in your application's configuration

DESCRIPTION ^

This module provides Leyland application with basic logging capabilities, by simply printing log messages to STDERR. If your application's config hash-ref does not define a logger, this module will be used.

CONSUMES ^

Leyland::Logger

ATTRIBUTES ^

None.

OBJECT METHODS ^

init()

Doesn't do anything in this module.

log( { level => $level, message => $msg } )

Logs a message of a certain level.

AUTHOR ^

Ido Perlmuter, <ido at ido50.net>

BUGS ^

Please report any bugs or feature requests to bug-Leyland at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Leyland. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

        perldoc Leyland::Logger::STDERR

You can also look for information at:

LICENSE AND COPYRIGHT ^

Copyright 2010-2011 Ido Perlmuter.

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.

syntax highlighting: