matomo-for-wordpress icon indicating copy to clipboard operation
matomo-for-wordpress copied to clipboard

Instead of a custom Logger just use Monolog w/ an ErrorLogHandler

Open diosmosis opened this issue 11 months ago • 0 comments

Requires #841

Instead of using a custom Logger instance that supports matomo log config values:

  • Use a Monolog\Logger instance.
  • Use an ErrorLogHandler instance.
  • Only use WP_DEBUG, do not use MATOMO_DEBUG.

Will make it easier to get debug logs from users.

diosmosis avatar Sep 16 '23 07:09 diosmosis