Changes for version 1.051 - 2017-08-06 (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!
- LOG_ANY_DEFAULT_ADAPTER now correctly logs to the given adapter.
Changes for version 1.050 - 2017-08-03 (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!
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
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