Example #1
0
        protected void SendAlert(IEnumerable<LogEntry> entriesFound)
        {
            var entries = entriesFound.ToArray();
            string entryException = entries.First().Exception;
            int occurrences = entries.Length;

            var alert = new AlertEmail();
            alert.Send(entryException, occurrences, AlertRecipients);
        }