1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
457
_taskLoggingContext
= loggingContext;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (35)
535
_taskLoggingContext
.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
594
_taskLoggingContext
.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message);
881
_taskLoggingContext
.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)
_taskLoggingContext
.Task).Name);
886
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
1278
_taskLoggingContext
,
1293
TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation,
_taskLoggingContext
, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc);
1308
_taskLoggingContext
.LogError(
1337
_taskLoggingContext
?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
1349
_taskLoggingContext
.LogError(
1360
_taskLoggingContext
.LogError(
1370
_taskLoggingContext
.LogError(
1456
_taskLoggingContext
.LogError(
1467
_taskLoggingContext
.LogError(
1478
_taskLoggingContext
.LogError(
1489
_taskLoggingContext
.LogError(
1730
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1738
_taskLoggingContext
.LogCommentFromText(
1753
_taskLoggingContext
,
1778
_taskLoggingContext
.LogFatalTaskError(
1787
_taskLoggingContext
.LogFatalTaskError(
1889
if (hasElements && LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && parameter.Log)
1892
_taskLoggingContext
,
1935
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1942
_taskLoggingContext
,
1952
_taskLoggingContext
.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
1983
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log)
1986
_taskLoggingContext
,
2022
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
2029
_taskLoggingContext
,
2039
_taskLoggingContext
.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
2049
_taskLoggingContext
);
2090
_taskLoggingContext
.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message);
2092
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
2165
_taskLoggingContext
,