示例#1
0
        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;
        }
示例#2
0
        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);
        }