7 implementations of LoggingService
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
381ILoggingService IBuildComponentHost.LoggingService => _componentFactories.GetComponent<ILoggingService>(BuildComponentType.LoggingService);
BackEnd\Node\OutOfProcNode.cs (1)
195ILoggingService IBuildComponentHost.LoggingService => _loggingService;
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockHost.cs (1)
146public ILoggingService LoggingService
BackEnd\NodeEndpointInProc_Tests.cs (1)
41public ILoggingService LoggingService
BackEnd\TargetBuilder_Tests.cs (1)
1803public ILoggingService LoggingService
BackEnd\TargetEntry_Tests.cs (1)
1166public ILoggingService LoggingService
BackEnd\TaskBuilder_Tests.cs (1)
1267public ILoggingService LoggingService
24 references to LoggingService
Microsoft.Build (24)
BackEnd\BuildManager\BuildManager.cs (13)
846ILoggingService loggingService = ((IBuildComponentHost)this).LoggingService; 1126ILoggingService? loggingService = ((IBuildComponentHost)this).LoggingService; 1352ILoggingService? loggingService = ((IBuildComponentHost)this).LoggingService; 1657((IBuildComponentHost)this).LoggingService.LogBuildEvent(submissionStartedEvent); 1743((IBuildComponentHost)this).LoggingService, 1998((IBuildComponentHost)this).LoggingService.LogInvalidProjectFileError(buildEventContext, projectException); 2016((LoggingService)((IBuildComponentHost)this).LoggingService).WaitForLoggingToProcessEvents(); 2107((IBuildComponentHost)this).LoggingService.LogInvalidProjectFileError(projectBuildEventContext, projectException); 2123((IBuildComponentHost)this).LoggingService.LogFatalBuildError(buildEventContext, ex, new BuildEventFileInfo(submission.BuildRequestData.ProjectFullPath)); 2179((IBuildComponentHost)this).LoggingService, 2905((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new BuildEventFileInfo(String.Empty), "UnableToCreateNode", response.RequiredNodeType.ToString("G")); 3524var loggingService = ((IBuildComponentHost)this).LoggingService; 3531var loggingService = ((IBuildComponentHost)this).LoggingService;
BackEnd\BuildManager\BuildSubmission.cs (1)
240((IBuildComponentHost)BuildManager).LoggingService.HasBuildSubmissionLoggedErrors(BuildResult.SubmissionId))
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (2)
125var loggingService = _componentHost.LoggingService; 357_componentHost.LoggingService.LogBuildEvent(new BuildMessageEventArgs(msg, null, null, MessageImportance.Low)
BackEnd\Components\Scheduler\Scheduler.cs (6)
601ILoggingService loggingService = _componentHost.LoggingService; 677_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService, InProcNodeId, true); 2038_componentHost.LoggingService.LogComment( 2201NodeLoggingContext nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true); 2952plan.WritePlan(submissionId, _componentHost.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0)); 2961_schedulingPlan.ReadPlan(submissionId, _componentHost.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0));
BackEnd\Node\InProcNode.cs (1)
502ILoggingService loggingService = _componentHost.LoggingService;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
495componentHost.LoggingService,