Package: perl-Log-Any (1.717.0-bp160.1.12)
Bringing loggers and listeners together
'Log::Any' provides a standard log production API for modules. Log::Any::Adapter allows applications to choose the mechanism for log consumption, whether screen, file or another logging mechanism like Log::Dispatch or Log::Log4perl. Many modules have something interesting to say. Unfortunately there is no standard way for them to say it - some output to STDERR, others to 'warn', others to custom file logs. And there is no standard way to get a module to start talking - sometimes you must call a uniquely named method, other times set a package variable. This being Perl, there are many logging mechanisms available on CPAN. Each has their pros and cons. Unfortunately, the existence of so many mechanisms makes it difficult for a CPAN author to commit his/her users to one of them. This may be why many CPAN modules invent their own logging or choose not to log at all. To untangle this situation, we must separate the two parts of a logging API. The first, _log production_, includes methods to output logs (like '$log->debug') and methods to inspect whether a log level is activated (like '$log->is_debug'). This is generally all that CPAN modules care about. The second, _log consumption_, includes a way to configure where logging goes (a file, the screen, etc.) and the code to send it there. This choice generally belongs to the application. A CPAN module uses 'Log::Any' to get a log producer object. An application, in turn, may choose one or more logging mechanisms via Log::Any::Adapter, or none at all. 'Log::Any' has a very tiny footprint and no dependencies beyond Perl 5.8.1, which makes it appropriate for even small CPAN modules to use. It defaults to 'null' logging activity, so a module can safely log without worrying about whether the application has chosen (or will ever choose) a logging mechanism. See http://www.openswartz.com/2007/09/06/standard-logging-api/ for the original post proposing this module.
Package information
- Homepage
- [https://metacpan.org/release/Log-Any]
- License
- Artistic-1.0 OR GPL-1.0-or-later
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-Log-Any]
- Software project
- [perl-log-any]
Versions and downloads for perl-Log-Any
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.717.0-bp160.1.12leap-16.0 / oss | noarchopenSUSE Leap 16.0 · OSS · multi-architecture | 110 KiB | 194 KiB | list of files | perl-Log-Any-1.717.0-bp160.1.12.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-Log-Any
dep: perl(:MODULE_COMPAT_5.42.0)
Package not available
Package file paths (49)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.42.0/Log
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Base.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Capture.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Development.pod
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/File.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Multiplex.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Null.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Stderr.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Stdout.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Syslog.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Test.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Adapter/Util.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Manager.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Proxy
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Proxy/Null.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Proxy.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Proxy/Test.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Proxy/WithStackTrace.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/Any/Test.pm
- /usr/lib/perl5/vendor_perl/5.42.0/Log/.gitignore
- /usr/share/doc/packages/perl-Log-Any
- /usr/share/doc/packages/perl-Log-Any/Changes
- /usr/share/doc/packages/perl-Log-Any/CONTRIBUTING.md
- /usr/share/doc/packages/perl-Log-Any/README
- /usr/share/licenses/perl-Log-Any
- /usr/share/licenses/perl-Log-Any/LICENSE
- /usr/share/man/man3/Log::Any.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Base.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Capture.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Development.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::File.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Multiplex.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Null.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Stderr.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Stdout.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Syslog.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Test.3pm.gz
- /usr/share/man/man3/Log::Any::Adapter::Util.3pm.gz
- /usr/share/man/man3/Log::Any::Manager.3pm.gz
- /usr/share/man/man3/Log::Any::Proxy.3pm.gz
- /usr/share/man/man3/Log::Any::Proxy::Null.3pm.gz
- /usr/share/man/man3/Log::Any::Proxy::Test.3pm.gz
- /usr/share/man/man3/Log::Any::Proxy::WithStackTrace.3pm.gz
- /usr/share/man/man3/Log::Any::Test.3pm.gz
Field source: openSUSE Leap 16.0 OSS
