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:12.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:lafenghu/perl-MooseX-Log-Log4perl && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-Log-Log4perl-0.43.tar.gz | 0000027049 26.4 KB | |
perl-MooseX-Log-Log4perl.changes | 0000000421 421 Bytes | |
perl-MooseX-Log-Log4perl.spec | 0000003369 3.29 KB |
Latest Revision
Adrian Schröter (adrianSuSE)
committed
(revision 1)
branched from openSUSE:Factory
Comments 0