Skip to content

Releases: bradmkjr/monolog-wordpress

New feature to limit the maximum number of rows to keep in the log table

15 Oct 12:42
5eb5909
Compare
Choose a tag to compare

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

15 Oct 11:58
c8c1fe2
Compare
Choose a tag to compare

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

15 Oct 12:02
Compare
Choose a tag to compare

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

15 Oct 11:56
Compare
Choose a tag to compare

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

12 Nov 22:31
a31977e
Compare
Choose a tag to compare

Fixes an issue with Monolog.

Added Public Log Table Name Method

26 May 14:35
Compare
Choose a tag to compare
1.6.2

Realized I made a mistake taking out extra fields, added back in

Composer Version Bump

26 May 02:54
Compare
Choose a tag to compare
1.6.0

Updating release version to 1.6.0

New Improved, with more awesome

26 May 02:40
Compare
Choose a tag to compare

Thanks to the contributions of @ewake and @Flynsarmy

Final Production Release

27 Feb 19:23
Compare
Choose a tag to compare

Added disclaimer to readme, about my concerns for general high traffic site use.

Version bump

27 Feb 19:11
Compare
Choose a tag to compare

Trying to get to stable in composer