1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
309
_taskLoggingContext
= loggingContext;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (35)
364
_taskLoggingContext
.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
407
_taskLoggingContext
.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message);
690
_taskLoggingContext
.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)
_taskLoggingContext
.Task).Name);
695
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
973
task = assemblyTaskFactory.CreateTaskInstance(_taskLocation,
_taskLoggingContext
, _buildComponentHost, taskIdentityParameters,
983
TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation,
_taskLoggingContext
, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc);
998
_taskLoggingContext
.LogError(
1018
_taskLoggingContext
?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
1030
_taskLoggingContext
.LogError(
1041
_taskLoggingContext
.LogError(
1051
_taskLoggingContext
.LogError(
1139
_taskLoggingContext
.LogError(
1150
_taskLoggingContext
.LogError(
1161
_taskLoggingContext
.LogError(
1172
_taskLoggingContext
.LogError(
1366
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1374
_taskLoggingContext
.LogCommentFromText(
1389
_taskLoggingContext
,
1414
_taskLoggingContext
.LogFatalTaskError(
1423
_taskLoggingContext
.LogFatalTaskError(
1525
if (hasElements && LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && parameter.Log)
1528
_taskLoggingContext
,
1571
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1578
_taskLoggingContext
,
1588
_taskLoggingContext
.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
1619
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log)
1622
_taskLoggingContext
,
1658
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1665
_taskLoggingContext
,
1675
_taskLoggingContext
.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
1685
_taskLoggingContext
);
1726
_taskLoggingContext
.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message);
1728
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
1801
_taskLoggingContext
,