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:Backports:SLE-15-SP1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP1:Update/perl-MooseX-Log-Log4perl && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-Log-Log4perl-0.47.tar.gz | 0000033366 32.6 KB | |
cpanspec.yml | 0000000109 109 Bytes | |
perl-MooseX-Log-Log4perl.changes | 0000001466 1.43 KB | |
perl-MooseX-Log-Log4perl.spec | 0000003026 2.96 KB |
Latest Revision
Ismail Dönmez (namtrac)
committed
(revision 3)
osc copypac from project:openSUSE:Leap:15.1 package:perl-MooseX-Log-Log4perl revision:9
Comments 0