ITLogLibCloseLogChannel

 

int ITLogLibCloseLogChannel(const char* pLogChannelName);

 

Purpose:

§      close a logchannel (if it was open)

 

Parameters:

§      pLogChannelName: The name of the logchannel, as defined in the configuration file.

 

Actions:

§      closes the logchannel, flushing all if of its pending output (if it was open)

 

Return value:

§      1 after successful operation
You get this return value too if the logchannel wasn’t open before the call.

§      0 if an error occurred

 

Notes:

§      Currently this method endlessly tries to flush the output and returns only after succeeding.