This method should close all log files that your logging module has opened.
virtual HRESULT STDMETHODCALLTYPE CloseLogFiles( long iFileFlags );
If the value of iFileFlags is set to 1, only files that are open for reading should be closed, and a value of 2 indicates that only files being written should be closed. If iFileFlags is set to 3, your logging module should close all open log files.