49 writes to Loggers
Microsoft.Build (1)
Instance\ProjectInstance.cs (1)
2699parameters.Loggers = (loggers is ICollection<ILogger> loggersCollection) ? loggersCollection : new List<ILogger>(loggers);
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
92Loggers = [new MockLogger(_output)],
Microsoft.Build.Engine.UnitTests (30)
BackEnd\BuildManager_Logging_Tests.cs (1)
150Loggers = new ILogger[] { _logger }
BackEnd\BuildManager_Tests.cs (15)
81Loggers = new ILogger[] { _logger }, 365Loggers = new List<ILogger> { new MockLogger(_output) } 445var customparameters = new BuildParameters { EnableNodeReuse = false, Loggers = new ILogger[] { _logger } }; 511Loggers = new ILogger[] { _logger }, 711Loggers = new ILogger[] { _logger }, 781Loggers = new ILogger[] { _logger }, 904var customParameters = new BuildParameters(projectCollection) { Loggers = new ILogger[] { _logger } }; 1537Loggers = new ILogger[] { _logger, new MockLogger(printEventsToStdout: true) }, 3132Loggers = new ILogger[] { cl }, 3210Loggers = new ILogger[] { cl }, 3295Loggers = new ILogger[] { cl }, 3783Loggers = new ILogger[] { _logger } 3869Loggers = new ILogger[] { _logger } 3938Loggers = new ILogger[] { _logger } 4040Loggers = new List<ILogger>()
BackEnd\Scheduler_Tests.cs (2)
83_parameters.Loggers = new ILogger[] { _logger }; 386_parameters.Loggers = new ILogger[] { _logger };
BackEnd\SdkResultOutOfProc_Tests.cs (3)
61Loggers = new ILogger[] { _logger }, 126var customparameters = new BuildParameters { EnableNodeReuse = false, Loggers = new ILogger[] { _logger } }; 171var customparameters = new BuildParameters { EnableNodeReuse = false, Loggers = new ILogger[] { _logger } };
BackEnd\TargetEntry_Tests.cs (1)
870Loggers = loggers,
BackEnd\TaskBuilder_Tests.cs (1)
175Loggers = new ILogger[] { logger },
BackEnd\TaskRegistry_Tests.cs (1)
666Loggers = new[] { logger }
BinaryLogger_Tests.cs (1)
597buildManager.Build(new BuildParameters() { Loggers = new ILogger[] { binaryLogger } },
Construction\SolutionProjectGenerator_Tests.cs (2)
2122parameters.Loggers = new ILogger[] { logger }; 2210parameters.Loggers = new ILogger[] { logger };
EvaluationProfiler_Tests.cs (1)
273Loggers = new ILogger[] { profilerLogger },
Graph\ResultCacheBasedBuilds_Tests.cs (2)
108Loggers = new[] { _logger } 468buildParameters.Loggers = new[] { logger };
Microsoft.Build.Tasks.UnitTests (3)
CreateItem_Tests.cs (1)
214Loggers = new ILogger[] { new MockLogger(_testOutput) },
Exec_Tests.cs (2)
948Loggers = new[] { logger }, 1005Loggers = new[] { logger },
Microsoft.Build.UnitTests.Shared (4)
ObjectModelHelpers.cs (4)
1019parameters.Loggers = loggers; 1419parameters.Loggers = parameters.Loggers == null 1486Loggers = new ILogger[] { mockLogger }, 2078actualBuildParameters.Loggers = actualBuildParameters.Loggers == null
Microsoft.Build.Utilities.UnitTests (8)
MuxLogger_Tests.cs (8)
34parameters.Loggers = new ILogger[] { muxLogger }; 59parameters.Loggers = new ILogger[] { muxLogger }; 99parameters.Loggers = new ILogger[] { mockLogger2 }; 109parameters.Loggers = new ILogger[] { muxLogger }; 154parameters.Loggers = new ILogger[] { muxLogger }; 208parameters.Loggers = new ILogger[] { muxLogger }; 263parameters.Loggers = new ILogger[] { muxLogger }; 313parameters.Loggers = new ILogger[] { muxLogger, new EventingLogger(projectStartedEvent) };
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
196Loggers = loggers.Add(_batchBuildLogger),
MSBuild (1)
XMake.cs (1)
1479parameters.Loggers = projectCollection.Loggers;
6 references to Loggers
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
627AppendDebuggingLoggers(_buildParameters.Loggers),
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildManager_Tests.cs (1)
85_projectCollection = new ProjectCollection(globalProperties: null, _parameters.Loggers, ToolsetDefinitionLocations.Default);
Microsoft.Build.UnitTests.Shared (4)
ObjectModelHelpers.cs (4)
1419parameters.Loggers = parameters.Loggers == null 1421: parameters.Loggers.Concat(new[] { logger }); 2078actualBuildParameters.Loggers = actualBuildParameters.Loggers == null 2080: actualBuildParameters.Loggers.Concat(loggers).ToArray();