1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
335
_taskLoggingContext
= loggingContext;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (35)
390
_taskLoggingContext
.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
438
_taskLoggingContext
.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message);
722
_taskLoggingContext
.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)
_taskLoggingContext
.Task).Name);
727
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
995
_taskLoggingContext
,
1010
TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation,
_taskLoggingContext
, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc);
1025
_taskLoggingContext
.LogError(
1054
_taskLoggingContext
?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
1066
_taskLoggingContext
.LogError(
1077
_taskLoggingContext
.LogError(
1087
_taskLoggingContext
.LogError(
1175
_taskLoggingContext
.LogError(
1186
_taskLoggingContext
.LogError(
1197
_taskLoggingContext
.LogError(
1208
_taskLoggingContext
.LogError(
1402
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1410
_taskLoggingContext
.LogCommentFromText(
1425
_taskLoggingContext
,
1450
_taskLoggingContext
.LogFatalTaskError(
1459
_taskLoggingContext
.LogFatalTaskError(
1561
if (hasElements && LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && parameter.Log)
1564
_taskLoggingContext
,
1607
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1614
_taskLoggingContext
,
1624
_taskLoggingContext
.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
1655
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log)
1658
_taskLoggingContext
,
1694
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1701
_taskLoggingContext
,
1711
_taskLoggingContext
.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
1721
_taskLoggingContext
);
1762
_taskLoggingContext
.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message);
1764
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
1838
_taskLoggingContext
,