public static IReportFactory AddConsole(this IReportFactory factory, IMetricsFilter filter = null)
        {
            var settings = new ConsoleReporterSettings();

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

            _settings = settings;

            Filter = filter;
        }