When building a new application or plugin, sometimes its important to have detailed information about what actions are taking place. This can be crucial when testing APIs, hooks, and your users actions to make sure your design is having the desired effect.

In the course of creating, testing, and debugging our work at Shockoe, we’ve created a WordPress plugin that gives you the ability to track custom events and pass along any information you need. WP-Logs (catchy title, right?) lets you drop a single line into your plugin code to define an event title, user id, and any extra information you’d like to see. This information will appear under a new ‘Logs’ tab in the WordPress admin panel and can optionally be passed to a Google Analytics account to be viewed inline with your other site statistics.

It’s currently being reviewed by the WordPress staff and will be available soon in the official WordPress Plugins directory. For now, the plugin can be cloned from our github repository. Follow us on twitter at @shockoe for information and updates.

Update: The plugin has been approved and is now in the WordPress plugin directory. Check it out at http://wordpress.org/extend/plugins/wp-logs/