Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Log-Any | Distribution: openSUSE Tumbleweed |
Version: 1.717.0 | Vendor: openSUSE |
Release: 2.3 | Build date: Fri Mar 8 23:41:15 2024 |
Group: Unspecified | Build host: reproducible |
Size: 198299 | Source RPM: perl-Log-Any-1.717.0-2.3.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://metacpan.org/release/Log-Any | |
Summary: 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.
Artistic-1.0 OR GPL-1.0-or-later
* Fri Mar 08 2024 Tina Müller <tina.mueller@suse.com> - Fix disabling of __perllib_provides * Fri Aug 18 2023 Tina Müller <timueller+perl@suse.de> - updated to 1.717 see /usr/share/doc/packages/perl-Log-Any/Changes 1.717 2023-08-17 10:52:21-05:00 America/Chicago [Fixed] - Fixed WithStackTrace proxy to remove arguments in-place instead of always stringifying the exception object immediately. This means we need to handle different exception objects differently, but it also means a better log message. Thanks @larryl and @GrantStreetGroup for submitting this fix! [Github #100] * Tue Jun 27 2023 Tina Müller <timueller+perl@suse.de> - updated to 1.716 see /usr/share/doc/packages/perl-Log-Any/Changes 1.716 2023-06-26 14:14:46-05:00 America/Chicago [Added] - Added a parameter to show stack trace arguments when using the WithStackTrace proxy. Since these arguments may contain sensitive information, they are now removed by default. Thanks @sam-ng and @GrantStreetGroup for submitting this patch! [Github #97] * Fri May 05 2023 Tina Müller <timueller+perl@suse.de> - updated to 1.715 see /usr/share/doc/packages/perl-Log-Any/Changes 1.715 2023-05-04 13:09:22-05:00 America/Chicago [Fixed] - Fixed Multiplex adapter losing context details. Normally, the Log::Any::Proxy joins all of the arguments passed in to a logging method if the adapter it's using does not support structured data. Multiplex supports structured data, but one of the adapters inside may not. So, the Multiplex adapter must also perform this concatenation to avoid losing those additional arguments. Thanks @jrubinator and @GrantStreetGroup for discovering this bug and providing the fix! [Github #95] * Tue Mar 21 2023 Tina Müller <timueller+perl@suse.de> - updated to 1.714 see /usr/share/doc/packages/perl-Log-Any/Changes 1.714 2023-03-20 11:48:30-05:00 America/Chicago [Fixed] - Fixed Syslog adaptor losing ident and facility information if another library wrongly calls Sys::Syslog::closelog(). This is not a perfect solution, but a perfect solution can only ever be to fix the close that's calling closelog() :P Thanks to Tom Christiansen and @GrantStreetGroup for reporting this issue and providing the fix. * Mon Dec 12 2022 Tina Müller <timueller+perl@suse.de> - updated to 1.713 see /usr/share/doc/packages/perl-Log-Any/Changes 1.713 2022-12-12 12:44:52-06:00 America/Chicago [Fixed] - Fixed tests failing due to missing Devel::Stacktrace. This is an optional module, so we do not explicitly depend on it. Thanks @dbevans and @perlpunk for reporting this issue! (Github #93) 1.712 2022-12-09 11:05:10-06:00 America/Chicago [Added] - Added `Log::Any::Proxy::WithStackTrace` to provide a stack trace at the caller site. Thanks @larryl and @GrantStreetGroup for providing this feature! [Other] - Removed Travis, as they stopped supporting free Github repos :( * Wed Nov 23 2022 Tina Müller <timueller+perl@suse.de> - updated to 1.711 see /usr/share/doc/packages/perl-Log-Any/Changes 1.711 2022-11-22 11:28:01-06:00 America/Chicago [Fixed] - Fixed proxy not exposing 'category' attribute (#86). Thanks @andrew-grechkin! - Fixed not being able to get a proxy for the "root" category (empty string) (#90). Thanks @XSven! * Tue Aug 03 2021 Tina Müller <timueller+perl@suse.de> - updated to 1.710 see /usr/share/doc/packages/perl-Log-Any/Changes 1.710 2021-08-02 10:11:33-05:00 America/Chicago [Other] - Removed explicit declaration of core dependencies to improve user experience * Thu Feb 18 2021 Tina Müller <timueller+perl@suse.de> - updated to 1.709 see /usr/share/doc/packages/perl-Log-Any/Changes 1.709 2021-02-17 15:16:20-06:00 America/Chicago [Added] - Added "Log::Any->has_consumer" for the rare case where one needs to know if a consumer has already been configured. * Tue Jan 14 2020 <timueller+perl@suse.de> - updated to 1.708 see /usr/share/doc/packages/perl-Log-Any/Changes 1.708 2020-01-12 22:56:43-05:00 America/New_York [Added] - Added 'Capture' adapter for capturing log messages in an array or running an arbitrary callback. This makes it easier to test log messages, collect messages from a certain scope for later display. Thanks @nrdvana! [Github #77] - Added Log::Any::Adapter 'get' class method to get an adapter for a category. This allows bypassing the Proxy and using the Adapter directly. Doing so breaks all the features enabled by a Proxy, and so should only be used in special circumstances (definitely not in CPAN modules). Thanks @nrdvana! [Github #78] - Added 'Multiplex' adapter for directing log output to one or more Log::Any adapters. This allows, for example, basic logging to Stderr and logging to a remote Syslogd or Elastic. Thanks @jrubinator and @GrantStreetGroup for contributing this! [Github #79, Github #16]
/usr/lib/perl5/vendor_perl/5.40.0/Log /usr/lib/perl5/vendor_perl/5.40.0/Log/.gitignore /usr/lib/perl5/vendor_perl/5.40.0/Log/Any /usr/lib/perl5/vendor_perl/5.40.0/Log/Any.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Base.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Capture.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Development.pod /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/File.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Multiplex.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Null.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Stderr.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Stdout.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Syslog.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Test.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Adapter/Util.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Manager.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Proxy /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Proxy.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Proxy/Null.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Proxy/Test.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Proxy/WithStackTrace.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Any/Test.pm /usr/share/doc/packages/perl-Log-Any /usr/share/doc/packages/perl-Log-Any/CONTRIBUTING.md /usr/share/doc/packages/perl-Log-Any/Changes /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
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Jan 12 02:41:53 2025