Jonathan Swartz > Log-Any-Adapter-Log4perl > Log::Any::Adapter::Log4perl

Download:
Log-Any-Adapter-Log4perl-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.06   Source  

NAME ^

Log::Any::Adapter::Log4perl

SYNOPSIS ^

    use Log::Log4perl;
    Log::Log4perl::init('/etc/log4perl.conf');

    Log::Any::Adapter->set('Log::Log4perl');

DESCRIPTION ^

This Log::Any adapter uses Log::Log4perl for logging. log4perl must be initialized before calling set. There are no parameters.

LOG LEVEL TRANSLATION ^

Log levels are translated from Log::Any to Log4perl as follows:

    notice -> info
    warning -> warn
    critical -> fatal
    alert -> fatal
    emergency -> fatal

SEE ALSO ^

Log::Any, Log::Any::Adapter, Log::Log4perl

AUTHOR ^

Jonathan Swartz

COPYRIGHT & LICENSE ^

Copyright (C) 2007 Jonathan Swartz, all rights reserved.

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

syntax highlighting: