2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
219
{
_taskLoggingContext
= value; }
1090
_taskLoggingContext
= null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
215
{ return
_taskLoggingContext
; }
361
MSBuildEventSource.Log.ExecuteTaskYieldStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
390
MSBuildEventSource.Log.ExecuteTaskYieldStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
391
MSBuildEventSource.Log.ExecuteTaskReacquireStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
393
MSBuildEventSource.Log.ExecuteTaskReacquireStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
456
warningEvent.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
457
_taskLoggingContext
.LoggingService.LogBuildEvent(warningEvent);
460
_taskLoggingContext
.LoggingService.LogComment(
_taskLoggingContext
.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
464
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
465
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
468
_taskLoggingContext
.HasLoggedErrors = true;
508
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
509
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
549
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
550
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
590
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
591
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
673
_taskLoggingContext
.LoggingService.LogTelemetry(
_taskLoggingContext
.BuildEventContext, eventName, properties);
714
if (
_taskLoggingContext
== null)
719
return _warningsAsErrors ??=
_taskLoggingContext
.GetWarningsAsErrors();
734
if (
_taskLoggingContext
== null)
739
return _warningsNotAsErrors ??=
_taskLoggingContext
.GetWarningsNotAsErrors();
754
if (
_taskLoggingContext
== null)
759
return _warningsAsMessages ??=
_taskLoggingContext
.GetWarningsAsMessages();
846
LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores",
_taskLoggingContext
.TaskName,
886
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores",
_taskLoggingContext
.TaskName,
891
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning",
_taskLoggingContext
.TaskName,
935
MessageImportance minimumImportance = _taskHost.
_taskLoggingContext
?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
1121
_taskLoggingContext
.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);