Custom Error Log

plugin banner

A tool for logging and monitoring custom errors, making debugging complex PHP a breeze.

Author:Dan Bahrami (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:4.0.0
Plugin version:1.1.1
Added to WordPress repository:22-10-2014
Last updated:23-10-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:5
Plugin URI:https://github.com/danbahrami/custom-error-lo...
Total downloads:3 250
Active installs:70+
plugin download
Click to start download

Custom Error Log allows you to create custom errors in your WordPress theme or plugin with a single function. Great for debugging those long and complex scripts.

Each error can have its own error message making it a lot easier to pin down specific issues in your code. You can also log notices for less serious issues.

All your errors and notices can be viewed conveniently in the WordPress admin area.

Plugin Features:

  • Easy Errors: Create errors with a simple function.
  • Useful Errors: Define a custom error message for each error.
  • Log notices: Notices can be logged for less serious issues and viewed seperately in the admin area.
  • Keep Track: View and moderate all your errors in the WordPress admin area.
  • Toolbar icon: The admin toolbar displays how many new errors and notices have occurred on the current page.

Getting Started:

Install and activate the plugin then in the admin menu go to Tools > Error Log. This will eventually be the page that displays all your latest errors but if you’re just getting started it explains in detail how to start logging custom errors.

In your theme use either of the two built in functions to log an error log_error($message); or a notice log_notice($message);.

When these functions are executed they will log whatever error or notice you want.

Ongoing Development:

I have only just started with this plugin and plan on bringing great improvements to it. If you have any ideas please suggest them in the support section.

Translation:

The plugin is translation ready but as of yet contains only an English translation file. If you would like to contribute any translations I would be very grateful.

Please note:

This plugin is aimed at developers who have at least a basic understanding of PHP. If this isn’t you then you may not find much use from this plugin however if you are unsure how to use any of the functions explained you can post a topic in the support section of the plugin directory and I will do my best to help you.


Screenshots
FAQ
ChangeLog