Tag Archives | log

Mac Console

Sending your own output to the WordPress debug log

Every WordPress developer knows how to use WP_DEBUG in the wp-config.php file to enable the WordPress debug log. But how do you go about sending output to the WordPress debug log, so you can debug your own code while developing a theme or plugin? Every developer is familiar with using the old print_r($my_stuff); die; trick to […]

Continue Reading Comments { 4 }