Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Log-Any-IfLOG-0.90.0-3.mga9 RPM for noarch

From Mageia Cauldron for i586 / media / core / release

Name: perl-Log-Any-IfLOG Distribution: Mageia
Version: 0.90.0 Vendor: Mageia.Org
Release: 3.mga9 Build date: Mon Mar 21 05:15:15 2022
Group: Development/Perl Build host: localhost
Size: 76490 Source RPM: perl-Log-Any-IfLOG-0.90.0-3.mga9.src.rpm
Packager: umeabot <umeabot>
Url: https://metacpan.org/release/Log-Any-IfLOG
Summary: Load Log::Any only if "logging is enabled"
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.

Provides

Requires

License

GPL+ or Artistic

Changelog

* Mon Mar 21 2022 umeabot <umeabot> 0.90.0-3.mga9
  + Revision: 1811249
  - Mageia 9 Mass Rebuild

Files

/usr/share/doc/perl-Log-Any-IfLOG
/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
/usr/share/perl5/vendor_perl/Log
/usr/share/perl5/vendor_perl/Log/Any
/usr/share/perl5/vendor_perl/Log/Any/IfLOG.pm


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 10:16:32 2024