A Logging Role for Moose based on Log::Log4perl

Edit Package perl-MooseX-Log-Log4perl

A logging role building a very lightweight wrapper to the Log::Log4perl
manpage for use with your the Moose manpage classes. The initialization of
the Log4perl instance must be performed prior to logging the first log
message. Otherwise the default initialization will happen, probably not
doing the things you expect.

For compatibility the 'logger' attribute can be accessed to use a common
interface for application logging.

For simple logging needs use the MooseX::Log::Log4perl::Easy manpage to
directly add log_ methods to your class instance.

$self->log_info("Dummy");

Refresh
Refresh
Source Files
Filename Size Changed
MooseX-Log-Log4perl-0.46.tar.gz 0000032858 32.1 KB
perl-MooseX-Log-Log4perl.changes 0000001024 1 KB
perl-MooseX-Log-Log4perl.spec 0000003514 3.43 KB
Revision 2 (latest revision is 4)
Adrian Schröter's avatar Adrian Schröter (adrianSuSE) committed (revision 2)
fork from 42.1
Comments 0
openSUSE Build Service is sponsored by