1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
458
_taskLoggingContext
= loggingContext;
32 references to _taskLoggingContext
Microsoft.Build (32)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (32)
539
_taskLoggingContext
.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
593
_taskLoggingContext
.LogError(_taskLocation, "TaskParametersError", _taskName, e.Message);
883
_taskLoggingContext
.LogFatalTaskError(e, _taskLocation, ((ProjectTaskInstance)
_taskLoggingContext
.Task).Name);
888
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
1273
_taskLoggingContext
,
1288
TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation,
_taskLoggingContext
, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc);
1300
_taskLoggingContext
.LogError(
1335
_taskLoggingContext
?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
1347
_taskLoggingContext
.LogError(
1358
_taskLoggingContext
.LogError(
1368
_taskLoggingContext
.LogError(
1489
_taskLoggingContext
.LogError(
1500
_taskLoggingContext
.LogError(
1511
_taskLoggingContext
.LogError(
1522
_taskLoggingContext
.LogError(
1841
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1853
_taskLoggingContext
,
1878
_taskLoggingContext
.LogFatalTaskError(
1887
_taskLoggingContext
.LogFatalTaskError(
1909
if (hasElements && LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && parameter.Log)
1912
_taskLoggingContext
,
1955
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1960
_taskLoggingContext
,
2098
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log)
2101
_taskLoggingContext
,
2137
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
2142
_taskLoggingContext
,
2157
_taskLoggingContext
);
2198
_taskLoggingContext
.LogWarningFromText(DiagnosticSubcategory.None, warningCode, helpKeyword, _taskLocation, message);
2200
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
2273
_taskLoggingContext
,