Debugging log plugin for wordpress

Few days back I was working on a live wordpress site and need to debug some code, as it was live I can’t add some echo’s and exit so I added email code and then check the emails continuesly, then I reliaze I need a logging mechanism and I made this simple logging plugin, which will log my debugging code and its easy to compare anything there rather then in emails.

Call debug log plugin create a log file date wise in the wp-content/logs directory, you just need to add this plugin, activate it and call

$content = “This content needs to be logged ”;

do_action(‘calldebuglog’, $content);

where $content is any debug code you want to check in the log file, and “calldebuglog” is hook which will call the required function.

Download link :  Debugging log plugin for wordpress (444)

Let me know your views and thoughts on this.

wpSimpleBackup : a simple wordpress plugin to take backups.

Links

phpcamp pune 2011: A gathering of php enthusiast

Twitter

  • #WordPress Theme Files Execution Hierarchy
    http://t.co/o07UCyx4
    2012/02/02 16:00
  • Planning Your Website Effectively- WordPress Is A Tool Not A Strategy
    http://t.co/lKDRhDi5
    2012/02/01 20:50
  • Here is how you can embed a 9slides into a WordPress blog post...
    http://t.co/c4tloCfR
    2012/01/25 23:52
  • awesome RT @itsCharlKruger: Updated #Buddypress Twitter - Download v1.1 & check out the new features in the admin panel
    http://t.co/ubrueciV
    2012/01/19 13:41
  • When NASA decided to make it easy to share their code they choose to build the site in #WordPress
    http://t.co/pLbFnScM
    2012/01/18 23:24

Pages