A Logging Role for Moose based on 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");
- Sources inherited from project openSUSE:Leap:42.1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.1:Update/perl-MooseX-Log-Log4perl && cd $_
- Create Badge
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 |
Latest Revision
Stephan Kulow (coolo)
accepted
request 338976
from
Stephan Kulow (coolo)
(revision 1)
new package for leap
Comments 0