Andover.Data.Logs.Provider.Chainsaw.LogParser.GetLogFileContent C# (CSharp) Method

GetLogFileContent() public static method

public static GetLogFileContent ( string logFilePath ) : string
logFilePath string
return string
        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;
        }