Reference : Debugging in wordpress
If you are looking for style these debug message then you should have these class for style. Set style as you wish by class that you need.
And if you don't want show these wording but continue debug then you need to use WP_DEBUG_LOG and WP_DEBUG_DISPLAY. Below point that you need to perform to achieve debug log file.
- Enable WP_DEBUG mode
- Enable Debug logging to the /wp-content/debug.log file
- Disable display of errors and warnings
WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen.
WP_DEBUG_LOG to do anything, WP_DEBUG must be enabled (true). Remember you can turn off WP_DEBUG_DISPLAY independently.
WP_DEBUG_DISPLAY is another companion to WP_DEBUG that controls whether debug messages are shown inside the HTML of pages or not.
WP_DEBUG_DISPLAY to do anything, WP_DEBUG must be enabled (true). Remember you can control WP_DEBUG_LOG independently.
Finally your wp-config.php file have below lines for above solution.
define('WP_DEBUG', true);//Enable WP_DEBUG mode
define( 'WP_DEBUG_LOG', true );//Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_DISPLAY', false );//Disable display of errors and warnings
Let me know if you have any query regarding this.