// No exporter, less verbose logger. public static IConfig GetCustomConfig(string artifactsPath, bool shortRunJob) { var defaultConfig = DefaultConfig.Instance; var config = new ManualConfig(); config.AddAnalyser(defaultConfig.GetAnalysers().ToArray()); config.AddColumnProvider(defaultConfig.GetColumnProviders().ToArray()); config.AddDiagnoser(defaultConfig.GetDiagnosers().ToArray()); //config.AddExporter(defaultConfig.GetExporters().ToArray()); config.AddFilter(defaultConfig.GetFilters().ToArray()); config.AddHardwareCounters(defaultConfig.GetHardwareCounters().ToArray()); //config.AddJob(defaultConfig.GetJobs().ToArray()); config.AddLogicalGroupRules(defaultConfig.GetLogicalGroupRules().ToArray()); //config.AddLogger(defaultConfig.GetLoggers().ToArray()); config.AddValidator(defaultConfig.GetValidators().ToArray()); config.UnionRule = ConfigUnionRule.AlwaysUseGlobal; if (shortRunJob) { config.AddJob(Job.ShortRun); } config.ArtifactsPath = artifactsPath; config.AddLogger(new ConsoleLogger_()); return(config); }