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

perl-Log-Any-1.705-bp153.1.19 RPM for noarch

From OpenSuSE Leap 15.3 for noarch

Name: perl-Log-Any Distribution: SUSE Linux Enterprise 15 SP3
Version: 1.705 Vendor: openSUSE
Release: bp153.1.19 Build date: Sat Mar 6 01:03:23 2021
Group: Development/Libraries/Perl Build host: sheep83
Size: 164787 Source RPM: perl-Log-Any-1.705-bp153.1.19.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/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.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Wed Feb 07 2018 coolo@suse.com
  - updated to 1.705
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.705     2018-01-17 13:49:22-06:00 America/Chicago
      [Fixed]
    - Fixed the `binmode` attribute of the File adapter not working
      properly. Thanks @MadLord80! [Github #71]
    1.704     2017-12-17 18:13:33-06:00 America/Chicago
      [Fixed]
    - Fixed some invalid POD and added a test to ensure POD validity
      before release. Thanks @shlomif! [Github #67][Github #68]
    - Improved performance when no work needed to be done. Thanks
      @mephinet! [Github #70]
* Thu Dec 07 2017 coolo@suse.com
  - updated to 1.703
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.703     2017-11-29 10:56:17-06:00 America/Chicago
      [Fixed]
    - Fixed log format methods (errorf, warnf, infof, etc...) not
      returning the formatted message sometimes. Thanks @vshekun!
      [Github #64]
* Wed Nov 29 2017 coolo@suse.com
  - updated to 1.702
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.702     2017-11-28 15:18:40-06:00 America/Chicago
      [Fixed]
    - Fixed log output disappearing when the `default_adapter` is set.
      Thanks @dallaylaen! [Github #65]
* Tue Oct 03 2017 coolo@suse.com
  - updated to 1.701
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.701     2017-10-02 14:36:51-05:00 America/Chicago
      [Fixed]
    - Fixed more method aliases in Log::Any::Adapter::Syslog that were
      mapped to invalid syslog priorities. Thanks @legaultp for the
      patch!
* Fri Sep 29 2017 coolo@suse.com
  - updated to 1.700
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.700     2017-09-28 16:59:22-05:00 America/Chicago
      [Fixed]
    - Fixed version of Log::Any::Adapter::Syslog so that installing it
      will also install the rest of Log-Any.
    - Fixed method aliasing in Log::Any::Adapter::Syslog for "error"
      log method. Thanks @legaultp for the patch!
    1.051     2017-08-06 20:41:53-05:00 America/Chicago (TRIAL RELEASE)
      [Fixed]
    - LOG_ANY_DEFAULT_ADAPTER now correctly logs to the given adapter.
      Previously, if no other adapter was set, Log::Any used it's
      default, super-fast "Null" proxy that simply drops all messages
      without checking adapters. Now Log::Any will correctly detect the
      environment variable and create the correct, normal proxy object.
      Thanks @tm604 for the report and @mephinet for the patch!
    1.050     2017-08-03 22:28:37-05:00 America/Chicago (TRIAL RELEASE)
      [Added]
    - Added structured logging to easily log single hash references in
      a parsable format. Thanks @mephinet!
    - Added contextual logging to attach information to log messages
      based on the current context.
      For example, all log messages being generated by a particular HTTP
      request could be logged with the URL, even if they're from a part
      of the application that doesn't know what HTTP is.
      This is very similar to Log::Log4perl's Mapped Diagnostic Context.
      Thanks @mephinet!
* Wed Mar 29 2017 coolo@suse.com
  - updated to 1.049
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.049     2017-03-28 16:02:10-05:00 America/Chicago
      [Fixed]
    - Fixed failing tests on Windows because of path separator
      interpolation. Thanks @nanis [Github #56]
    - Added explicit core dependency on Sys::Syslog in case of Perls
      with non-standard core libraries. Thanks @nanis [Github #57]
    1.048     2017-03-27 15:16:12-05:00 America/Chicago
    - No changes since 1.047 trial release
    1.047     2017-03-22 20:22:47-05:00 America/Chicago (TRIAL RELEASE)
      [Fixed]
    - Fixed backwards-compatibility with users using the Unix::Syslog
      macros in Log::Any::Adapter::Syslog. This requires that the user
      have Unix::Syslog installed (which Log::Any does not explicitly
      depend on).
    - Log level aliases are now case-insensitive to match the regular
      log levels. Prior to this, "WARNING", "Warning", and "warning"
      would all work, but "WARN", and "Warn" would not, only "warn".
      Thanks to @0x62ash for reporting this issue. [Github #55]
    - Invalid log levels for the File, Stderr, and Stdout adapters now
      result in a warning, and the default level of "trace" is used.
      Previously, no warning would be issued and no logs would be
      generated. Thanks to @0x62ash for reporting this issue. [Github
      [#55]]
    1.046     2017-01-11 21:22:57-06:00 America/Chicago (TRIAL RELEASE)
      [Added]
    - The Syslog adapter is now part of the core distribution, since it
      relies only on core Perl modules.
* Sun Nov 13 2016 coolo@suse.com
  - updated to 1.045
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.045     2016-11-11 21:52:46-06:00 America/Chicago
    - No changes from previous (trial) release 1.044
    1.044     2016-11-06 15:30:35-06:00 America/Chicago (TRIAL RELEASE)
      [Fixed]
    - Imported log object can now be called anything instead of just
      `$log`. This means `use Log::Any '$LOG'` or `use Log::Any '$foo'`
      now work.
    1.043     2016-11-03 21:31:18-05:00 America/Chicago (TRIAL RELEASE)
      [Fixed]
    - Objects that overload stringification are now stringified
      correctly (instead of run through Data::Dumper). Thanks @mephinet!
* Mon Aug 29 2016 coolo@suse.com
  - updated to 1.042
    see /usr/share/doc/packages/perl-Log-Any/Changes
* Sun Aug 28 2016 coolo@suse.com
  - updated to 1.042
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.042     2016-08-26 23:37:33-05:00 America/Chicago
      [Added]
    - Default adapters can now be configured with arguments (thanks
      @bjakubski!)
    1.041     2016-08-18 00:00:10-05:00 America/Chicago (TRIAL RELEASE)
      [Added]
    - Logging methods now return the formatted log string so that it can
      be used in a `die` or `warn` call.
      [Changed]
    - A new default log proxy (Log::Any::Proxy::Null) is used when there
      are no adapters configured (and so no place for logs to go). This
      proxy does no processing and is about 1000% percent faster on my
      laptop.
      [Fixed]
    - Suppress 'redundant argument' warnings if too many arguments are
      given to a log formatting string.
* Tue Mar 08 2016 coolo@suse.com
  - updated to 1.040
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.040     2016-02-24 17:47:00-05:00 America/New_York
      [Fixed]
    - Fixed duplicated documentation sections.
* Sat Feb 13 2016 coolo@suse.com
  - updated to 1.038
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.038     2016-02-10 14:15:31-07:00 America/Mazatlan
    - No changes from 1.037
    1.037     2016-02-05 20:22:34-05:00 America/New_York (TRIAL RELEASE)
      [Fixed]
    - Fixed t/filescreen.t Unicode string tests to use a backwards
      compatible form.  Should fix tests before 5.16.
    1.035     2016-02-04 14:47:20-05:00 America/New_York (TRIAL RELEASE)
      [Changed]
    - The default formatter now replaces a code reference argument with
      the results of calling the code reference ONLY when it is the first
      argument (in place of a format string).  Code references in
      subsequent arguments (to sprintf) are not executed, as this would
      break backwards compatibility.
      [Documented]
    - Noted that repeatedly calling 'set' to set an adapter without calling
      'remove' or using the 'lexically' feature will leak memory.
    1.033     2016-02-03 10:32:57-05:00 America/New_York (TRIAL RELEASE)
      [Added]
    - The default formatter now expands code references.  If the first
      argument is a code reference, it is expanded and returned.  If an
      argument to "sprintf" style formatting is a code reference, it is
      expanded.
      [Changed]
    - The File adapter now opens files with the ":utf8" layer.  It also
      takes a 'binmode' attribute to change the default.
      [Fixed]
    - does_not_contain_ok test adapter function now gives proper
      diagnostic message
    - all diagnostic messages that output the captured log now
      correctly dump the log with pretty formatting
      [Documented]
    - documented the 'proxy_class' argument to `get_logger`
      [~Internal~]
    - Data::Dumper is loaded lazily, to reduce module load times
      for programs that don't need it.
* Tue Apr 14 2015 coolo@suse.com
  - updated to 1.032
    see /usr/share/doc/packages/perl-Log-Any/Changes
    1.032     2015-03-26 17:23:37-04:00 America/New_York
    - no changes from 1.031
    1.031     2015-03-26 06:08:17-04:00 America/New_York (TRIAL RELEASE)
      [Fixed]
    - Log::Any::Adapter::Test passed through all constructor arguments,
      which could be fatal when mocking adapters without all key-value
      pairs (like Log::Any::Adapter::File); now this only passes through
      the category and ignores other parameters when used as an
      adapter class override.
    1.03      2015-01-01 22:39:41-05:00 America/New_York
      [Changed]
    - Log::Any::Proxy concatenates arguments to basic logging functions
      with a space character before passing them to adapters as a single
      string.  This ensures consistency across adapters that handle
      multiple arguments differently.
    1.02      2014-12-28 07:06:49-05:00 America/New_York
      [Fixed]
    - Some adapters relied on Log::Any::Adapter::Util also loading
      Log::Any so this behavior has been restored.
    1.01      2014-12-26 22:25:13-05:00 America/New_York
      [Fixed]
    - 'numeric_level' was not exported properly from
      Log::Any::Adapter::Util
    1.00      2014-12-25 22:04:13-05:00 America/New_York
      [Added]
    - Logging now goes via a Log::Any::Proxy object instead of directly to
      an adapter. This allows easy customization of the message production.
    - File, Stdout, and Stderr adapters now support a minimum
      log level parameter.
      [Changed]
    - Removed dead code from Log::Any::Adapter::Base; particularly this
      was the formatting code, since this is now handled by
      Log::Any::Proxy.
      [Fixed]
    - File will flock the handle when writing (if flock is avaiable).
    - Won't die if adapters aren't loadable modules as long as they
      provide a constructor.  This allows using private adapters
      defined in another file.
      [Documented]
    - Revised docs for creating adapters
    - Fixed typos and improved docs for Log::Any::Adapter::Util; removed
      stub docs for modules that didn't need it.
      [Deprecated]
    - Deprecated some methods in Log::Any::Adapter::Util
      [Internal]
    - Merged Log-Any and Log-Any-Adapter distributions; reduces code
      duplication and ensures Log::Any and adapter framework stay in sync
    - Eliminates all non-core dependencies (as of Perl 5.8.1), including
      Capture::Tiny, Devel::GlobalDestruction and Guard
    0.92      2014-12-15 07:12:38-05:00 America/New_York (TRIAL RELEASE)
    0.91      2014-12-14 22:13:09-05:00 America/New_York (TRIAL RELEASE)
    0.90      2014-12-12 17:08:22-05:00 America/New_York (TRIAL RELEASE)

Files

/usr/lib/perl5/vendor_perl/5.26.1/Log
/usr/lib/perl5/vendor_perl/5.26.1/Log/.gitignore
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Base.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Development.pod
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/File.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Null.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Stderr.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Stdout.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Syslog.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Test.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Util.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Manager.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Proxy
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Proxy.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Proxy/Null.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Proxy/Test.pm
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Test.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/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::Development.3pm.gz
/usr/share/man/man3/Log::Any::Adapter::File.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::Test.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 14:50:04 2024