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