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

NAME

Pinto::Logger - Record events in the repository log file (and elsewhere).

VERSION

version 0.042

METHODS

add_output( $obj )

Adds the object to the output destinations that this logger writes to. The object must be an instance of a Log::Dispatch::Output subclass, such as Log::Dispatch::Screen or Log::Dispatch::Handle.

LOGGING METHODS

The following methods are available for writing to the logs at various levels (listed in order of increasing priority). Each method takes a single message as an argument.

debug
info
notice
warning
error
fatal

Note that fatal causes the application to throw an exception.

AUTHOR

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Imaginative Software Systems.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.