June 2017
Intermediate to advanced
536 pages
9h 49m
English
PHP has a built-in error_log() function that sends an error message to the defined error handling routines; thus, providing an out-of-the-box solution for simple logging.
The following code snippet describes the error_log() function definition:
bool error_log ( string $message [, int $message_type = 0 [, string $destination [, string $extra_headers ] ]] )
The parameters are defined as follows: