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