Parameters
logFileNamePath to the log file where all text operations are saved
asXMLDetermines whether the log file be saved as XML or not
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.