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