public static ILogOutputHandler Report(IFilterableLogEntryList logEntryList, ILogOutputHandler outputHandler) { var entries = logEntryList.GetEntries(); LogReporter printer = new LogReporter(logEntryList, outputHandler); printer.OutputHandler.Initialise(); printer.GenerateOutput(entries, 0); printer.OutputHandler.Complete(); return printer.OutputHandler; }
public static ILogOutputHandler Report(IFilterableLogEntryList logEntryList, ILogOutputHandler outputHandler) { var entries = logEntryList.GetEntries(); LogReporter printer = new LogReporter(logEntryList, outputHandler); printer.OutputHandler.Initialise(); printer.GenerateOutput(entries, 0); printer.OutputHandler.Complete(); return(printer.OutputHandler); }