2 implementations of LoggingService
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
383ILoggingService IBuildComponentHost.LoggingService => _componentFactories.GetComponent<ILoggingService>(BuildComponentType.LoggingService);
BackEnd\Node\OutOfProcNode.cs (1)
195ILoggingService IBuildComponentHost.LoggingService => _loggingService;
24 references to LoggingService
Microsoft.Build (24)
BackEnd\BuildManager\BuildManager.cs (13)
869ILoggingService loggingService = ((IBuildComponentHost)this).LoggingService; 1149ILoggingService? loggingService = ((IBuildComponentHost)this).LoggingService; 1377ILoggingService? loggingService = ((IBuildComponentHost)this).LoggingService; 1680((IBuildComponentHost)this).LoggingService.LogBuildEvent(submissionStartedEvent); 1766((IBuildComponentHost)this).LoggingService, 2021((IBuildComponentHost)this).LoggingService.LogInvalidProjectFileError(buildEventContext, projectException); 2039((LoggingService)((IBuildComponentHost)this).LoggingService).WaitForLoggingToProcessEvents(); 2130((IBuildComponentHost)this).LoggingService.LogInvalidProjectFileError(projectBuildEventContext, projectException); 2146((IBuildComponentHost)this).LoggingService.LogFatalBuildError(buildEventContext, ex, new BuildEventFileInfo(submission.BuildRequestData.ProjectFullPath)); 2202((IBuildComponentHost)this).LoggingService, 2930((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new BuildEventFileInfo(String.Empty), "UnableToCreateNode", response.RequiredNodeType.ToString("G")); 3546var loggingService = ((IBuildComponentHost)this).LoggingService; 3553var loggingService = ((IBuildComponentHost)this).LoggingService;
BackEnd\BuildManager\BuildSubmission.cs (1)
237((IBuildComponentHost)BuildManager).LoggingService.HasBuildSubmissionLoggedErrors(BuildResult.SubmissionId))
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (2)
125var loggingService = _componentHost.LoggingService; 347_componentHost.LoggingService.LogBuildEvent(new BuildMessageEventArgs(msg, null, null, MessageImportance.Low)
BackEnd\Components\Scheduler\Scheduler.cs (6)
616ILoggingService loggingService = _componentHost.LoggingService; 692_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService, InProcNodeId, true); 2049_componentHost.LoggingService.LogComment( 2210NodeLoggingContext nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true); 2995plan.WritePlan(submissionId, _componentHost.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0)); 3004_schedulingPlan.ReadPlan(submissionId, _componentHost.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0));
BackEnd\Node\InProcNode.cs (1)
497ILoggingService loggingService = _componentHost.LoggingService;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
513componentHost.LoggingService,