#include <cogent.h>
ST_STATUS LG_Flush(IP_Task* myself, IP_Task* textlog, char* retbuf, int buflen, int nlabels, char** labels );
ST_OK on success. Otherwise ST_ERROR, and the retbuf will contain a more detailed error message (see flush in the Cascade TextLogger documentation). If the return value is ST_OK, the retbuf may not contain useful information.
This function attempts to log any collected data to the cache. If data is not being cached (as determined by the LG_Cache function or the cache command), the LG_Flush function will cause data to be flushed to file or standard output.
This function corresponds to the Cascade TextLogger flush command.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.