This method enables the caller to specify the log file that should be read by your custom logging module.
virtual HRESULT STDMETHODCALLTYPE SetInputLogFile(
BSTR szInputLogFileName,
DATE startDateTime,
DATE endDateTime
);
The caller is free to call either ILogScripting:SetInputLogFile or ILogScripting::SetInputServerInstance. It is not necessary, nor is it proper, for the caller to call both ILogScripting::Set… methods in the same attempt to read a log file. The second ILogScripting::Set… call will simply reset the read initiated by the first call.
After this method is called, the caller is obliged to call ILogScripting::ReadLogRecord before calling any of the ILogScripting::Get… methods.