Esempio n. 1
0
        public LogLevelCounts GetLogLevelCounts(LogTimePeriod logTimePeriod)
        {
            var counter = new CountingFilter();

            GetLogs(logTimePeriod, counter, 0, int.MaxValue);
            return(counter.Counts);
        }
 public LogLevelCounts GetLogLevelCounts(DateTimeOffset startDate, DateTimeOffset endDate)
 {
     var counter = new CountingFilter();
     GetLogs(startDate, endDate, counter, 0, int.MaxValue);
     return counter.Counts;
 }