Function CloseLogChannel(LogChannelName As String) As Boolean
Purpose:
§ closes a logchannel (if it was open)
Parameters:
§ LogChannelName: 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:
§ True after successful operation
You get this return value too if the logchannel wasn’t open before the call.
§ False if an error occurred
Notes:
§ Currently this method endlessly tries to flush the output and returns only after succeeding.