2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
221
{
_taskLoggingContext
= value; }
1094
_taskLoggingContext
= null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
217
{ return
_taskLoggingContext
; }
363
MSBuildEventSource.Log.ExecuteTaskYieldStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
392
MSBuildEventSource.Log.ExecuteTaskYieldStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
393
MSBuildEventSource.Log.ExecuteTaskReacquireStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
395
MSBuildEventSource.Log.ExecuteTaskReacquireStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
458
warningEvent.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
459
_taskLoggingContext
.LoggingService.LogBuildEvent(warningEvent);
462
_taskLoggingContext
.LoggingService.LogComment(
_taskLoggingContext
.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
466
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
467
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
470
_taskLoggingContext
.HasLoggedErrors = true;
510
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
511
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
551
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
552
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
592
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
593
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
675
_taskLoggingContext
.LoggingService.LogTelemetry(
_taskLoggingContext
.BuildEventContext, eventName, properties);
716
if (
_taskLoggingContext
== null)
721
return _warningsAsErrors ??=
_taskLoggingContext
.GetWarningsAsErrors();
736
if (
_taskLoggingContext
== null)
741
return _warningsNotAsErrors ??=
_taskLoggingContext
.GetWarningsNotAsErrors();
756
if (
_taskLoggingContext
== null)
761
return _warningsAsMessages ??=
_taskLoggingContext
.GetWarningsAsMessages();
848
LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores",
_taskLoggingContext
.TaskName,
888
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores",
_taskLoggingContext
.TaskName,
893
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning",
_taskLoggingContext
.TaskName,
937
MessageImportance minimumImportance = _taskHost.
_taskLoggingContext
?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
1125
_taskLoggingContext
.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);