1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
457
_taskLoggingContext
= loggingContext;
32 references to _taskLoggingContext
Microsoft.Build (32)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (32)
538
_taskLoggingContext
.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
592
_taskLoggingContext
.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message);
882
_taskLoggingContext
.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)
_taskLoggingContext
.Task).Name);
887
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
1272
_taskLoggingContext
,
1287
TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation,
_taskLoggingContext
, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc);
1302
_taskLoggingContext
.LogError(
1331
_taskLoggingContext
?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
1343
_taskLoggingContext
.LogError(
1354
_taskLoggingContext
.LogError(
1364
_taskLoggingContext
.LogError(
1485
_taskLoggingContext
.LogError(
1496
_taskLoggingContext
.LogError(
1507
_taskLoggingContext
.LogError(
1518
_taskLoggingContext
.LogError(
1837
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1849
_taskLoggingContext
,
1874
_taskLoggingContext
.LogFatalTaskError(
1883
_taskLoggingContext
.LogFatalTaskError(
1905
if (hasElements && LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && parameter.Log)
1908
_taskLoggingContext
,
1951
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1956
_taskLoggingContext
,
2094
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log)
2097
_taskLoggingContext
,
2133
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
2138
_taskLoggingContext
,
2153
_taskLoggingContext
);
2194
_taskLoggingContext
.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message);
2196
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
2269
_taskLoggingContext
,