1 type derived from LoggingService
Microsoft.Build.Engine.UnitTests (1)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1791internal sealed class ProcessBuildEventHelper : LoggingService
1 instantiation of LoggingService
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
842return new LoggingService(mode, node);
112 references to LoggingService
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (2)
1754((LoggingService)((IBuildComponentHost)this).LoggingService).WaitForLoggingToProcessEvents(); 2908ILoggingService loggingService = LoggingService.CreateLoggingService(loggerMode,
BackEnd\Components\Logging\LoggingService.cs (1)
1053Assembly engineAssembly = typeof(LoggingService).GetTypeInfo().Assembly;
BackEnd\Components\Logging\LoggingServiceFactory.cs (1)
52IBuildComponent loggingService = (IBuildComponent)LoggingService.CreateLoggingService(_logMode, _nodeId);
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (4)
24private readonly LoggingService? _loggingService; 31LoggingService? loggingService, 58LoggingService loggingService, 103LoggingService? loggingService,
Definition\Project.cs (1)
3334if (LoggingService is LoggingService defaultLoggingService)
Definition\ProjectCollection.cs (2)
1737(LoggingService as LoggingService)?.WaitForLoggingToProcessEvents(); 1765_loggingService = BackEnd.Logging.LoggingService.CreateLoggingService(_loggerMode, 0 /*Evaluation can be done as if it was on node "0"*/);
Microsoft.Build.BuildCheck.UnitTests (1)
BuildCheckManagerProviderTests.cs (1)
30_loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
Microsoft.Build.Engine.UnitTests (100)
BackEnd\BuildManager_Logging_Tests.cs (1)
99ILoggingService service = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
BackEnd\LoggingService_Tests.cs (26)
37private LoggingService _initializedService; 64IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 68LoggingService logService = (LoggingService)logServiceComponent; 73logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.Asynchronous, 1); 75logService = (LoggingService)logServiceComponent; 91IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 100Assert.Equal(LoggingServiceState.Instantiated, ((LoggingService)logServiceComponent).ServiceState); 105LoggingService service = (LoggingService)logServiceComponent; 119IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 642LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 675LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 688LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 792ILoggingService ls = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 972ILoggingService loggingService = LoggingService.CreateLoggingService(loggerMode, nodeId); 1047ILoggingService node1LoggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 1049ILoggingService node2LoggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 2); 1092IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 1094_initializedService = logServiceComponent as LoggingService;
BackEnd\LoggingServiceFactory_Tests.cs (4)
24LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.LoggingService); 35LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.LoggingService);
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
55LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
BackEnd\SdkResolverLoader_Tests.cs (1)
38ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
BackEnd\SdkResolverService_Tests.cs (1)
36ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
BackEnd\TaskExecutionHost_Tests.cs (1)
1233_loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
BackEnd\TaskHost_Tests.cs (1)
66_loggingService = loggingFactory.CreateInstance(BuildComponentType.LoggingService) as LoggingService;
BackEnd\TaskRegistry_Tests.cs (1)
88_loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
Construction\SolutionFilter_Tests.cs (1)
296ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 0);
Construction\SolutionProjectGenerator_Tests.cs (2)
22using LoggingService = Microsoft.Build.BackEnd.Logging.LoggingService; 2839ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 0);
Definition\ToolsVersion_Tests.cs (55)
22using LoggingService = Microsoft.Build.BackEnd.Logging.LoggingService; 84LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 104LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 123LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 143LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 193LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 218LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 239LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 305LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 342LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 378LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 408LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 440LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 548LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 586LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 627LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 698LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 783LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 894LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
Evaluation\Expander_Tests.cs (2)
5133ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1); 5170ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
TestLoggingContext.cs (1)
17loggingService ?? Build.BackEnd.Logging.LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1), eventContext)