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");
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP5/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
Yuchen Lin (maxlin_factory)
committed
(revision 2)
branch from SP4 Backports
Comments 0