private List <LogEvent> ReadLogFile(string filePath) { using (var fileReader = File.OpenText(filePath)) { return(_iisLogReader.Read(fileReader).ToList()); } }
public List <LogEvent> Read() { using (var reader = File.OpenText(".\\Files\\u_ex181003.log")) { return(_reader.Read(reader).ToList()); } }