#include <cogent.h>
ST_STATUS LG_Log(
IP_Task* myself, IP_Task* textlog, char* retbuf, int buflen, char* label, char* spec, int npoints, char** pointnames )
;
A pointer to this task's IP_Task structure normallly generated by a call to IP_NserveInit.
A pointer to the Cascade TextLogger's IP_Task structure, normally generated by a call to IP_TaskFindName.
A pointer to a character buffer to hold the return from the call.
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 pointnames.
The names of the points corresponding to format directives in the spec format string.
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 command.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.