1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
456
_taskLoggingContext
= loggingContext;
32 references to _taskLoggingContext
Microsoft.Build (32)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (32)
537
_taskLoggingContext
.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
591
_taskLoggingContext
.LogError(_taskLocation, "TaskParametersError", _taskName, e.Message);
881
_taskLoggingContext
.LogFatalTaskError(e, _taskLocation, ((ProjectTaskInstance)
_taskLoggingContext
.Task).Name);
886
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
1271
_taskLoggingContext
,
1286
TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation,
_taskLoggingContext
, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc);
1298
_taskLoggingContext
.LogError(
1333
_taskLoggingContext
?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
1345
_taskLoggingContext
.LogError(
1356
_taskLoggingContext
.LogError(
1366
_taskLoggingContext
.LogError(
1487
_taskLoggingContext
.LogError(
1498
_taskLoggingContext
.LogError(
1509
_taskLoggingContext
.LogError(
1520
_taskLoggingContext
.LogError(
1839
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1851
_taskLoggingContext
,
1876
_taskLoggingContext
.LogFatalTaskError(
1885
_taskLoggingContext
.LogFatalTaskError(
1907
if (hasElements && LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && parameter.Log)
1910
_taskLoggingContext
,
1953
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
1958
_taskLoggingContext
,
2096
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log)
2099
_taskLoggingContext
,
2135
if (LogTaskInputs && !
_taskLoggingContext
.LoggingService.OnlyLogCriticalEvents)
2140
_taskLoggingContext
,
2155
_taskLoggingContext
);
2196
_taskLoggingContext
.LogWarningFromText(DiagnosticSubcategory.None, warningCode, helpKeyword, _taskLocation, message);
2198
catch (InternalErrorException) when (!
_taskLoggingContext
.IsValid)
2271
_taskLoggingContext
,