Timber

Timber is a general-purpose error-logging and alert system for Wordpress. It traps and catalogues PHP errors at multiple levels, and provides detailed stack trace and debug information. It integrates with the Role Manager plugin to allow user & role specific permissions to be set to view and/or clear errors.

Timber is intended primarily as a developer’s tool, to be enabled in a sandbox environment while debugging plugins or themes in-progress. However, it also has potential in a production setting, as a way to hide errors from the end-user while still logging them for administrator review. The configuration settings allow for precise control of what type of errors and what error information is logged, so it can be deployed in varying scenarios without runaway logs filling the database.

Several additional features are planned, and a good deal of real-world testing is still required. Timber is currently in beta.

Timber v0.80 Features

  • + Log exactly which PHP errors you want, from E_NOTICE to E_ERROR
  • + Log stack trace information to see the full chain of function calls, with line numbers
  • + See the contents of local variables at the time of failure
  • + Per-user read/unread status for each error
  • + Custom capabilities for log access, supports Role Manager
  • + Configure which error types cause the page to die
  • + Configure a custom error message to display to the user
  • + Pass-through mode for debugging hands off to PHP's normal error handler after logging