This library adheres to Semantic Versioning and Keep a CHANGELOG.
- Change the garbage collector to schedule a single recurring event to clean up logs instead of
wp_schedule_single_event
.
- Display the relative time for the log.
- Fix a serialization of closure error when using an exception in a log's context.
- Fix an incorrectly named variable in the
Post_Handler
class.
- Re-release of 2.4.1.
- New filter
ai_logger_unrestricted_logging
to allow unrestricted logging without checking if the log was recently seen. - Overhaul of the log backtrace display in the admin.
- Bumped minimum PHP version to 8.1.
- Add return types to logger to appease
psr/log
v3.
- Renamed the main plugin file from
ai-logger.php
tologger.php
.
- Dependency bumps.
- Drops support for PHP 7.4. Requires 8.0.
- Adding support for
psr/log
support for v1 through v3. - Adds support for logging with default context (
ai_logger()->with_context(...)
). - Improves log filtering in admin.
- Dependency bumps.
- Improve logger display in-WordPress.
- Adds
ai_logger_handlers
andai_logger_processors
filters to allow Monolog handlers and processors to be filtered. - Adds
ai_logger()->to_post()
andai_logger()->to_term()
methods for easily creating a logger with a post/term handler
- Implements
Psr\Log\LoggerInterface
on theAI_Logger\AI_Logger
class to allow the logger to support DI against the logger interface. - Moved to GitHub actions for continuous integration.
- Switches to Mantle Framework for unit testing.
- Provides a helpful
ai_logger()
and maintains the existingai_logger_insert
hook for inserting global post logs. - Provides better log display interface and log meta box display for object-specific logs.
- Moves Logger to a Monolog-based package.
- Provides more Log Handlers to use with Monolog
Initial release.