Separate out console write as well

This commit is contained in:
Matt Nadareski
2024-10-30 13:41:45 -04:00
parent 4d5b0486a2
commit 876f7223b0
2 changed files with 19 additions and 6 deletions

View File

@@ -40,8 +40,8 @@ namespace SabreTools.Reports
{
return statReportFormat switch
{
StatReportFormat.None => new Textfile(statsList, true),
StatReportFormat.Textfile => new Textfile(statsList, false),
StatReportFormat.None => new ConsoleOutput(statsList),
StatReportFormat.Textfile => new Textfile(statsList),
StatReportFormat.CSV => new CommaSeparatedValue(statsList),
StatReportFormat.HTML => new Html(statsList),
StatReportFormat.SSV => new SemicolonSeparatedValue(statsList),