#include <cogent.h>
ST_STATUS LG_Group(IP_Task* myself, IP_Task* textlog, char* retbuf, int buflen, char* label, int nlabels, char** labels );
ST_OK on success. Otherwise ST_ERROR, and the retbuf will contain a more detailed error message (see group in the Cascade TextLogger documentation). If the return value is ST_OK, the retbuf may not contain useful information.
This function lets you group any number of logs or groups. Grouping allows you to give commands that refer to several logs at the same time, because a command specifying a group will be applied to all the logs in that group or its sub-groups.
Groups can be made recursively (ie. groups of groups). Each group must contain either groups or logs, but not both; you are not permitted to have a group consisting of groups and single logs.
This function corresponds to the Cascade TextLogger group command.
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.