Takes a snapshot of a particular set of variables at the current time, for reporting on the server.

Parameters: Three <string> values, which must be specified in the following order:

product - the Product ID code for the product you want to query.
report - the report to which to assign the log record. (optional)
varlist - a list of variable names to include in the log record. Names must be separated by spaces. An error will occur if the list of names is different from what has previously been used for the given report.

Return values: A <struct> of name-value pairs, containing the following values:

value type description
error <int> An error code. See below for a list of error codes.
message <string> A text description of the error code.