srvError — message output to the server log.

Description:

void srvError(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 srvError function" type="script">

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

</item>

The result of performing the example:

B6606460 2015/03/26 14:51:24.452 Error! 512:248: Hello world!

B6606460 2015/03/26 14:51:24.458 Error! 512:248: Hello world! 12345