SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-MooX-Log-Any rpm build for : OpenSuSE. For other distributions click perl-MooX-Log-Any.

Name : perl-MooX-Log-Any
Version : 0.004004 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.1.1 Date : 2023-01-27 18:31:10
Group : Development/Libraries/Perl Source RPM : perl-MooX-Log-Any-0.004004-lp154.1.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : Role to add Log::Any
Description :
A logging role building a very lightweight wrapper to Log::Any for use with
your Moo or Moose classes. Connecting a Log::Any::Adapter should be
performed prior to logging the first log message, otherwise nothing will
happen, just like with Log::Any

Using the logger within a class is as simple as consuming a role:

package MyClass;
use Moo;
with \'MooX::Log::Any\';

sub dummy {
my $self = shift;
$self->log->info(\"Dummy log entry\");
}

The logger needs to be setup before using the logger, which could happen in
the main application:

package main;
use Log::Any::Adapter;

Log::Any::Adapter->set(\'Log4perl\')

use MyClass;
my $myclass = MyClass->new();
$myclass->log->info(\"In my class\"); # Access the log of the object
$myclass->dummy; # Will log \"Dummy log entry\"

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.4/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-MooX-Log-Any-0.004004-lp154.1.1.noarch.rpm
     

Provides :
perl(MooX::Log::Any)
perl-MooX-Log-Any

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Log::Any)
perl(Moo::Role)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/MooX
/usr/lib/perl5/vendor_perl/5.26.1/MooX/Log
/usr/lib/perl5/vendor_perl/5.26.1/MooX/Log/Any.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-MooX-Log-Any
/usr/share/doc/packages/perl-MooX-Log-Any/Changes
/usr/share/doc/packages/perl-MooX-Log-Any/README
/usr/share/doc/packages/perl-MooX-Log-Any/README.md
/usr/share/licenses/perl-MooX-Log-Any
/usr/share/licenses/perl-MooX-Log-Any/LICENSE
/usr/share/man/man3/MooX::Log::Any.3pm.gz

 
ICM