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