log_message

Use the log_message v4 API method to to send a message to the server's message log.

Declaration

 short log_message(
		const char         *msg,
		short              msg_length
		)

Usage

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.

Parameters

Parameter Description
msg The message string to log
msg_length The length of the message string
Related concepts
Controlling Error Checking and Call Tracing