7 implementations of LoggingService
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
373ILoggingService IBuildComponentHost.LoggingService => _componentFactories.GetComponent<ILoggingService>(BuildComponentType.LoggingService);
BackEnd\Node\OutOfProcNode.cs (1)
191ILoggingService IBuildComponentHost.LoggingService => _loggingService;
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockHost.cs (1)
140public ILoggingService LoggingService
BackEnd\NodeEndpointInProc_Tests.cs (1)
42public ILoggingService LoggingService
BackEnd\TargetBuilder_Tests.cs (1)
1799public ILoggingService LoggingService
BackEnd\TargetEntry_Tests.cs (1)
1270public ILoggingService LoggingService
BackEnd\TaskBuilder_Tests.cs (1)
1327public ILoggingService LoggingService
23 references to LoggingService
Microsoft.Build (23)
BackEnd\BuildManager\BuildManager.cs (12)
778ILoggingService loggingService = ((IBuildComponentHost)this).LoggingService; 1032ILoggingService? loggingService = ((IBuildComponentHost)this).LoggingService; 1395((IBuildComponentHost)this).LoggingService.LogBuildEvent(submissionStartedEvent); 1481((IBuildComponentHost)this).LoggingService, 1736((IBuildComponentHost)this).LoggingService.LogInvalidProjectFileError(buildEventContext, projectException); 1754((LoggingService)((IBuildComponentHost)this).LoggingService).WaitForLoggingToProcessEvents(); 1845((IBuildComponentHost)this).LoggingService.LogInvalidProjectFileError(projectBuildEventContext, projectException); 1861((IBuildComponentHost)this).LoggingService.LogFatalBuildError(buildEventContext, ex, new BuildEventFileInfo(submission.BuildRequestData.ProjectFullPath)); 1913((IBuildComponentHost)this).LoggingService, 2634((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new BuildEventFileInfo(String.Empty), "UnableToCreateNode", response.RequiredNodeType.ToString("G")); 3217var loggingService = ((IBuildComponentHost)this).LoggingService; 3224var loggingService = ((IBuildComponentHost)this).LoggingService;
BackEnd\BuildManager\BuildSubmission.cs (1)
240((IBuildComponentHost)BuildManager).LoggingService.HasBuildSubmissionLoggedErrors(BuildResult.SubmissionId))
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (2)
120var loggingService = _componentHost.LoggingService; 290_componentHost.LoggingService.LogBuildEvent(new BuildMessageEventArgs(msg, null, null, MessageImportance.Low)
BackEnd\Components\Scheduler\Scheduler.cs (6)
557ILoggingService loggingService = _componentHost.LoggingService; 633_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService, InProcNodeId, true); 1720emitNonErrorLogs(_componentHost.LoggingService); 2131NodeLoggingContext nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true); 2829plan.WritePlan(submissionId, _componentHost.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0)); 2838_schedulingPlan.ReadPlan(submissionId, _componentHost.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0));
BackEnd\Node\InProcNode.cs (1)
483ILoggingService loggingService = _componentHost.LoggingService;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
484componentHost.LoggingService,