public static string GetLogFileContent(string logFilePath)
{
string contents = string.Empty;
try
{
contents = File.ReadAllText(logFilePath);
}
catch (Exception)
{
// TODO: Clean this up to look for specific excption
// check for error when file is already in use. Capture here and allow for processing of other files.S
}
return contents;
}