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

Changes for version 1.038 - 2016-02-10

  • No changes from 1.037

Changes for version 1.037 - 2016-02-05 (TRIAL RELEASE)

  • Fixed
    • Fixed t/filescreen.t Unicode string tests to use a backwards compatible form. Should fix tests before 5.16.

Changes for version 1.035 - 2016-02-04 (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.

Changes for version 1.033 - 2016-02-03 (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.

Documentation

Manual for developing new Log::Any adapters

Modules

Bringing loggers and listeners together
Tell Log::Any where to send its logs
Simple adapter for logging to files
Discards all log messages
Simple adapter for logging to STDERR
Simple adapter for logging to STDOUT
Common utility functions for Log::Any
Log::Any generator proxy object
Test what you're logging with Log::Any

Provides

in lib/Log/Any/Adapter/Base.pm
in lib/Log/Any/Adapter/Test.pm
in lib/Log/Any/Manager.pm
in lib/Log/Any/Proxy/Test.pm