This plugin hasn’t 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.

WordPress Logger

Description

Display log messages from PHP in the browser console in Safari, Firefox (with firebug), and Opera (with the new Dragonfly debugging environment). Essential debugging tool for
plugin and theme developers. You no longer have to use ‘print_r’ statements from PHP to figure out what is going
on in the code, which more often than not, messes up the DOM and HTML layout. Displays complex PHP structures like arrays and objects
in pretty print.

Features

  • Log debug messages directly from themes and plugins.
  • Display log messages in the browser console, without muddying up the browser display.
  • Displays complex structures such as arrays and objects in pretty print.
  • Shows the line number and file from where the message was logged ( you won’t lose track of log statements ).

For more info, comments, and feature requests, visit the plugin homepage.

Credits

Code that forces the wplogger plugin to load first was adapted from the WordPress
FirePHP plugin
developed by Ivan Weiller.

This plugin is based on PEAR Log, the logging framework that is part of the
PHP PEAR library. Current maintainers Jon Parise, Jan Schneider, and Chuck Hagenbuch. PEAR Log is based on code first
developed for the Horde 1.3 framework – original authors Chuck Hagenbuch, and Jon Parise.

Release Notes

0.3 : Added support for Opera ;

0.2.2 : Fixed formatting issues in readme.txt file;

0.2.1 : Added more detail to the readme.txt file;

0.2 : First official public release;

0.1 : First internal release;

Screenshots

  • Console log output in the Firefox Browser with the Firebug extension.
  • Console log output in the Safari Browser.
  • Opera Dragonfly Error Console output in the Opera Browser.

FAQ

How to enable the *Debug* / *Develop* menu in Safari?
How to show the error console in Opera?
  1. Select the Tools > Advanced > Developer Tools menu.
  2. Click on the Error Console tab in the Opera Dragonfly console.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Browse the code