perl-Log-Any-IfLOG-0.70.0-3.mga6.noarch.rpm


Advertisement

Description

perl-Log-Any-IfLOG - Load Log::Any only if "logging is enabled"

Property Value
Distribution Mageia Cauldron
Repository Mageia Core i586
Package name perl-Log-Any-IfLOG
Package version 0.70.0
Package release 3.mga6
Package architecture noarch
Package type rpm
Installed size 65.79 KB
Download size 23.35 KB
Official Mirror distrib-coffee.ipsl.jussieu.fr
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.

Alternatives

Package Version Architecture Repository
perl-Log-Any-IfLOG-0.70.0-3.mga6.noarch.rpm 0.70.0 noarch Mageia Core
perl-Log-Any-IfLOG - - -

Requires

Name Value
perl(Log::Any) -
perl-base >= 2:5.22.2

Provides

Name Value
perl(Log::Any::IfLOG) == 0.70.0
perl-Log-Any-IfLOG == 0.70.0-3.mga6

Download

Type URL
Binary Package perl-Log-Any-IfLOG-0.70.0-3.mga6.noarch.rpm
Source Package perl-Log-Any-IfLOG-0.70.0-3.mga6.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Log-Any-IfLOG rpm package:
    # urpmi perl-Log-Any-IfLOG

Files

Path
/usr/lib/perl5/vendor_perl/5.22.2/Log/
/usr/lib/perl5/vendor_perl/5.22.2/Log/Any/IfLOG.pm
/usr/share/doc/perl-Log-Any-IfLOG/Changes
/usr/share/doc/perl-Log-Any-IfLOG/LICENSE
/usr/share/doc/perl-Log-Any-IfLOG/META.json
/usr/share/doc/perl-Log-Any-IfLOG/META.yml
/usr/share/doc/perl-Log-Any-IfLOG/MYMETA.yml
/usr/share/doc/perl-Log-Any-IfLOG/README
/usr/share/man/man3/Log::Any::IfLOG.3pm.xz

Changelog

2016-06-19 - pterjan <pterjan> 0.70.0-3.mga6
+ Revision: 1029318
- Rebuild for perl 5.22.2
2016-02-19 - umeabot <umeabot> 0.70.0-2.mga6
+ Revision: 969355
- Mageia 6 Mass Rebuild
2015-08-23 - sander85 <sander85> 0.70.0-1.mga6
+ Revision: 868497
- update to 0.07
2015-06-30 - sander85 <sander85> 0.50.0-1.mga6
+ Revision: 848819
- imported package perl-Log-Any-IfLOG

See Also

Package Description
perl-Log-Contextual-0.8.1-1.mga7.noarch.rpm Super simple logger made for playing with Log::Contextual
perl-Log-Contextual-LogDispatchouli-0.1.0-1.mga7.noarch.rpm Proxy Log::Dispatchouli without getting wrong carp levels
perl-Log-Defer-0.312.0-2.mga6.noarch.rpm Deferred logs and timers
perl-Log-Dispatch-2.670.0-2.mga7.noarch.rpm Perl modules for logging messages to multiple outputs
perl-Log-Dispatch-ApacheLog-2.670.0-2.mga7.noarch.rpm Apache mod_perl dispatcher for Log::Dispatch
perl-Log-Dispatch-Array-1.3.0-7.mga6.noarch.rpm Log events to an array (reference)
perl-Log-Dispatch-Config-1.40.0-8.mga6.noarch.rpm Log4j for Perl
perl-Log-Dispatchouli-2.16.0-1.mga7.noarch.rpm A simple wrapper around Log::Dispatch
perl-Log-Dump-0.140.0-6.mga6.noarch.rpm Simple logger mainly for debugging
perl-Log-Fu-0.310.0-6.mga6.noarch.rpm Simplified and developer-friendly screen logging
perl-Log-Handler-0.880.0-2.mga7.noarch.rpm A simple log file handler
perl-Log-Lite-0.140.0-2.mga7.noarch.rpm Log info in local file
perl-Log-Log4perl-1.490.0-1.mga7.noarch.rpm Log4j implementation for Perl
perl-Log-Message-0.80.0-7.mga6.noarch.rpm Log Message
perl-Log-Message-Simple-0.100.0-8.mga6.noarch.rpm Standardized logging facilities using the "Log::Message" module
Advertisement
Advertisement