2 implementations of OnlyLogCriticalEvents
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
467
public bool
OnlyLogCriticalEvents
Microsoft.Build.Engine.UnitTests (1)
BackEnd\MockLoggingService.cs (1)
92
public bool
OnlyLogCriticalEvents
5 writes to OnlyLogCriticalEvents
Microsoft.Build (1)
Definition\ProjectCollection.cs (1)
1829
_loggingService.
OnlyLogCriticalEvents
= onlyLogCriticalEvents;
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildTelemetryErrorCategorization_Tests.cs (4)
38
loggingService.
OnlyLogCriticalEvents
= false;
103
loggingService.
OnlyLogCriticalEvents
= false;
147
loggingService.
OnlyLogCriticalEvents
= false;
184
loggingService.
OnlyLogCriticalEvents
= false;
17 references to OnlyLogCriticalEvents
Microsoft.Build (17)
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
208
if (!loggingService.
OnlyLogCriticalEvents
&&
BackEnd\Components\Logging\TargetLoggingContext.cs (1)
93
if (!LoggingService.
OnlyLogCriticalEvents
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (2)
223
if (LogTaskInputs && !LoggingContext.LoggingService.
OnlyLogCriticalEvents
&& itemsToAdd?.Count > 0)
273
if (LogTaskInputs && !LoggingContext.LoggingService.
OnlyLogCriticalEvents
&& itemsToRemove.Count > 0)
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
99
if (LogTaskInputs && !LoggingContext.LoggingService.
OnlyLogCriticalEvents
)
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
372
!projectLoggingContext.LoggingService.
OnlyLogCriticalEvents
)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (5)
251
if (!_loggingService.
OnlyLogCriticalEvents
)
271
if (!_loggingService.
OnlyLogCriticalEvents
)
1095
if (!_loggingService.
OnlyLogCriticalEvents
)
1137
if (!_loggingService.
OnlyLogCriticalEvents
)
1163
if (!_loggingService.
OnlyLogCriticalEvents
)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
643
!_targetLoggingContext.LoggingService.
OnlyLogCriticalEvents
)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (5)
1402
if (LogTaskInputs && !_taskLoggingContext.LoggingService.
OnlyLogCriticalEvents
)
1561
if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.
OnlyLogCriticalEvents
&& parameter.Log)
1607
if (LogTaskInputs && !_taskLoggingContext.LoggingService.
OnlyLogCriticalEvents
)
1655
if (LogTaskInputs && !_taskLoggingContext.LoggingService.
OnlyLogCriticalEvents
&& outputs.Length > 0 && parameter.Log)
1694
if (LogTaskInputs && !_taskLoggingContext.LoggingService.
OnlyLogCriticalEvents
)