I recently released the WordPress plugin, “Simple Error Handler”. This plugin produces a stack trace when a PHP Notice or Deprecation warning occurs. The administrator can set the error level that is trapped from the admin settings page. Other than that it could provide a developer with an easy start to make a customized error handler or logger.
Use of the plugin is described on the Simple Error Handler page.
The code is written in standard procedural PHP as an example of writing plugins in this style. Like Simple Access Control it’s well commented and was built with use as an example in mind. Feel free to pick it up and modify it to your requirements. I will be posting an annotated version of the code as a tutorial in the near future.
pkw
Latest posts by pkw (see all)
- Enabling HTTPS in WordPress - May 26, 2017
- WordPress Maintenance for Beginners - March 28, 2017
- Five Top Mistakes of DIY Websites - February 11, 2017