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.06.tar.gz 0000025545 24.9 KB
cpanspec.yml 0000000469 469 Bytes
perl-Catalyst-Log-Log4perl.changes 0000001018 1018 Bytes
perl-Catalyst-Log-Log4perl.spec 0000002981 2.91 KB
Latest Revision
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) committed (revision 7)
Comments 0
openSUSE Build Service is sponsored by