예제 #1
0
 /**
  * Read the text from the log file from custom location
  */
 public string GetLogText(string location)
 {
     LogReader logReader = new LogReader();
     logReader.LogLocation = location;
     logReader.OpenReader();
     string text = logReader.Read();
     logReader.CloseReader();
     return text;
 }
예제 #2
0
 /**
  * Read the text from the log file from default location
  */
 public string GetLogText()
 {
     LogReader logReader = new LogReader();
     logReader.OpenReader();
     string text = logReader.Read();
     logReader.CloseReader();
     return text;
 }