#include <cogent.h>
ST_STATUS LG_Output(IP_Task* myself, IP_Task* textlog, char* retbuf, int buflen, char* label, char* output );
ST_OK on success. Otherwise ST_ERROR, and the retbuf will contain a more detailed error message (see output in the Cascade TextLogger documentation). If the return value is ST_OK, the retbuf may not contain useful information.
This function inserts an output string as a line into a log or group, standard output, or standard error. If the label is for a single log, the string will appear in that log only. If the label is for a group, then the string will appear in each of the logs pertaining to that group.
This function corresponds to the Cascade TextLogger output command.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.