SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : perl-Log-Any-IfLOG
Version : 0.090 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.1 Date : 2019-01-15 07:45:07
Group : Development/Libraries/Perl Source RPM : perl-Log-Any-IfLOG-0.090-1.1.src.rpm
Size : 0.03 MB
Packager : (none)
Summary : Load Log::Any only if \"logging is enabled\"
Description :
This module is a drop-in replacement/wrapper for Log::Any to be used from
your modules. This is a quick-hack solution to avoid the cost of loading
Log::Any under \"normal condition\". Since Log::Any 1.00, startup overhead
increases to about 7-10ms on my PC/laptop (from under 1ms for the previous
version). Because I want to keep startup overhead of CLI apps under 50ms
(see Perinci::CmdLine::Lite) to keep tab completion from getting a
noticeable lag, every millisecond counts.

This module will only load Log::Any when \"logging is enabled\". Otherwise,
it will just return without loading anything. If \'$log\' is requested in
import, a fake object is returned that responds to methods like \'debug\',
\'is_debug\' and so on but will do nothing when called and just return 0.

To determine \"logging is enabled\":

* * Is $ENABLE_LOG defined?

This package variable can be used to force \"logging enabled\" (if true) or
\"logging disabled\" (if false). Normally, you don\'t need to do this except
for testing.

* * Is Log::Any is already loaded (from %INC)?

If Log::Any is already loaded, it means we have taken the overhead hit
anyway so logging is enabled.

* * Is one of log-related environment variables true?

If one of LOG, \'TRACE\', or \'DEBUG\', or \'VERBOSE\', or \'QUIET\', or
\'LOG_LEVEL\' is true then logging is enabled. These variables are used by
Perinci::CmdLine.

Otherwise, logging is disabled.

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

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

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

Requires :
perl(:MODULE_COMPAT_5.18.2)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(Log::Any)


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

 
ICM