Logging debug arbitrary information

/ Published in: PHP
Save to your folder(s)

In certain cases, it is useful to display additional information in a journal that does not report an error, but simply helps in writing your own code. For this PHP provides the function error_log ().
This function does not provide formatting, so you can create your own wrapper over error_log, formatting objects and variables that are written to the log using the print_r () function

URL: http://delaemsait.info/primenenie-zhurnala-otladki-v-wordpress/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.