LG_Log — writes point data in formatted lines.
|IP_Task* ||myself, |
| ||IP_Task* ||textlog, |
| ||char* ||retbuf, |
| ||int ||buflen, |
| ||char* ||label, |
| ||char* ||spec, |
| ||int ||npoints, |
| ||char** ||pointnames|
pointer to this task's IP_Task
structure normallly generated by a call to IP_NserveInit.
pointer to the Cascade TextLogger's IP_Task
structure, normally generated by a call to IP_TaskFindName.
pointer to a character buffer to hold the return from the
length of retbuf, in bytes.
- The name of the log.
- The format string for the log line, similar to the
kind used in the printf statement.
Please refer to the Cascade TextLogger log
command documentation for details.
- The number of entries in the array
- The names of the points corresponding to format
directives in the spec format
ST_OK on success. Otherwise
ST_ERROR, and the
retbuf will contain a more detailed error
message (see log in the
Cascade TextLogger documentation). If the return value is
ST_OK, the retbuf
may not contain useful information.
This function specifies which
points to log, and the format of each line of the written
output. It corresponds to the Cascade TextLogger log