Log::Log4perl logging for Catalyst

Edit Package perl-Catalyst-Log-Log4perl
http://search.cpan.org/dist/Catalyst-Log-Log4perl/

This module provides a the Catalyst::Log manpage implementation that uses
the Log::Log4perl manpage as the underlying log mechanism. It provides all
the methods listed in the Catalyst::Log manpage, with the exception of:

levels
enable
disable

These methods simply return 0 and do nothing, as similar functionality is
already provided by the Log::Log4perl manpage.

These methods will all instantiate a logger with the component set to the
package who called it. For example, if you were in the MyApp::C::Main
package, the following:

package MyApp::C::Main;

sub default : Private {
my ( $self, $c ) = @_;
my $logger = $c->log;
$logger->debug("Woot!");
}

Would send a message to the Myapp.C.Main the Log::Log4perl manpage
component.

See the Log::Log4perl manpage for more information on how to configure
different logging mechanisms based on the component.

Refresh
Refresh
Source Files
Filename Size Changed
Catalyst-Log-Log4perl-1.04.tar.gz 0000027678 27 KB
Catalyst-Log-Log4perl-1.05.tar.gz 0000036414 35.6 KB
perl-Catalyst-Log-Log4perl.changes 0000000177 177 Bytes
perl-Catalyst-Log-Log4perl.spec 0000002998 2.93 KB
Revision 4 (latest revision is 7)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 4)
Comments 0
openSUSE Build Service is sponsored by