Bringing loggers and listeners together

Edit Package perl-Log-Any
http://search.cpan.org/dist/Log-Any/

'Log::Any' allows CPAN modules to safely and efficiently log messages,
while letting the application choose (or decline to choose) a logging
mechanism such as 'Log::Dispatch' or 'Log::Log4perl'.

'Log::Any' has a very tiny footprint and no dependencies beyond Perl 5.6,
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.

The application, in turn, may choose one or more logging mechanisms via
Log::Any::Adapter.

Refresh
Refresh
Source Files
Filename Size Changed
Log-Any-1.708.tar.gz 0000056166 54.8 KB
cpanspec.yml 0000000669 669 Bytes
perl-Log-Any.changes 0000016117 15.7 KB
perl-Log-Any.spec 0000003700 3.61 KB
Revision 42 (latest revision is 60)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 764245 from Tina Müller's avatar Tina Müller (tinita) (revision 42)
- 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]
Comments 0
openSUSE Build Service is sponsored by