Native wordpress logger s*cks
Native wordpress logger is not really designed for advanced usage. It consits of a single log file (wp-content/debug.log) you can activate in your wp-config.php with this two directives:
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true);
Even if it’s activated, it’s really difficult to use this default log file as a precise log file since it catch all PHP errors and warnings. Besides, I wasn’t able to customize the output format like I wanted…
As an application developer, I really needed to add a better alternative logging system for many of my WordPress projects. I decided to package this solution and share it with interested users.