srvMessage — message output to the server log.

 

Description:

void srvMessage (u8 *string[, u8 arg-list…]);

string message sending to the server log.

List of parameters:

string

String or pointer to the format control string.

arg-list

Variable number of parameters (up to 8).

The format control string operation is detailed in sprintf function.

Example:

<item id="524" RGB="524:16" name="Test for srvMessage function" type="script">

V-ID/V-ADDR
{
	u8 str[] = "Hello world!";
	srvMessage (&str);
	srvMessage ("Hello %s! %d", "world", 12345);
}

</item>

The result of performing the example:

B6606460 2015/03/26 14:53:53.922 512:248: Hello world!

B6606460 2015/03/26 14:53:53.928 512:248: Hello world! 12345