Use the log_message v4 API method to to send a message to the server's message log.
short log_message( const char *msg, short msg_length )
The log_message method writes a message to the message log. The message string must be a printable text string no longer than 255 bytes; longer messages may be truncated.
Parameter | Description |
---|---|
msg | The message string to log |
msg_length | The length of the message string |