In this case, the destination parameter specifies the host name or IP address and optionally, port number, of the socket receiving the debug information.
Sends an error message to the web server's error log, a TCP port or to a file. The first parameter, message, is the error message that should be logged. The second parameter, message_type says where the message should go: