public ConsoleReporterProvider(IConsoleReporterSettings settings, IMetricsFilter filter) { if (settings == null) { throw new ArgumentNullException(nameof(settings)); } _settings = settings; Filter = filter; }
public static IReportFactory AddConsole(this IReportFactory factory, IConsoleReporterSettings settings, IMetricsFilter filter = null) { factory.AddProvider(new ConsoleReporterProvider(settings, filter)); return(factory); }