The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.708 - 2020-01-12

  • 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!

Documentation

Manual for developing new Log::Any adapters

Modules

Bringing loggers and listeners together
Tell Log::Any where to send its logs
Adapter for capturing log messages into an arrayref
Simple adapter for logging to files
Adapter to use allow structured logging across other adapters
Discards all log messages
Simple adapter for logging to STDERR
Simple adapter for logging to STDOUT
Send Log::Any logs to syslog
Common utility functions for Log::Any
Log::Any generator proxy object
Log::Any generator proxy for no adapters
Test what you're logging with Log::Any