Example #1
0
 /// <summary>
 /// Reads the Last X Logged Errors from the Log Store ordered by Date and Time Logged in Descending order.  Not available if using the TextFile logger.
 /// </summary>
 /// <param name="recordCount"></param>
 /// <returns>IReadOnlyCollection</returns>
 public static IReadOnlyCollection <Error> Read(int recordCount)
 {
     try
     {
         return(LogReaderV2.ReadMaxRecordCount(recordCount));
     }
     catch
     {
         return(null);
     }
 }