Releases: bradmkjr/monolog-wordpress
Releases · bradmkjr/monolog-wordpress
New feature to limit the maximum number of rows to keep in the log table
Added
- Feature to limit the maximum number of rows to keep in the log table. Use
set_max_table_rows()
method on the handler instance to configure the limit.
Configure maximum number of rows to keep:
$wordPressHandler->set_max_table_rows( 250000 );
Old entries are deleted when the limit is reached.
Improved
- README.md now has a section about v2 and v1 differences.
Fixed compatibility with Monolog Formatters
Fixed
- Limitations of WordPressHandler regarding formatters, whereas formatted data was only respected in the 'extra' part of the records, but not for 'message' or 'context' (#11). Note: the time column still does not follow the formatted datetime to keep compatibility with existing deployments.
This package now requires Monolog v2 and PHP v7.1 or later
Changed
- This package now requires Monolog v2 or later
- Minimum required PHP version is 7.1 because of the same constraint in Monolog v2
For compatibility with Monolog v1 and PHP < v7.1 use the v1 releases instead.
Fixed compatibility with Monolog v1 and PHP versions before 7.1
Fixed
- Previous Fix in v1.6.3 broke compatibility with Monolog v1 and PHP versions before 7.1. Monolog v2 compatibility will be reintroduced in v2 of this package.
Improved
- PHP v5.3 compatibility made explicit in composer.json
- Added Wordpress as a development requirement
- WordPressHandler::$wpdb type declaration was incorrect in PHPDoc, set to \wpdb to point to the correct class in Wordpress
Added
- CHANGELOG.md
PHP Fatal error due update on monolog
Fixes an issue with Monolog.
Added Public Log Table Name Method
1.6.2 Realized I made a mistake taking out extra fields, added back in
Composer Version Bump
1.6.0 Updating release version to 1.6.0
New Improved, with more awesome
Thanks to the contributions of @ewake and @Flynsarmy
Final Production Release
Added disclaimer to readme, about my concerns for general high traffic site use.
Version bump
Trying to get to stable in composer