2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
225
{
_taskLoggingContext
= value; }
1135
_taskLoggingContext
= null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
221
{ return
_taskLoggingContext
; }
367
MSBuildEventSource.Log.ExecuteTaskYieldStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
396
MSBuildEventSource.Log.ExecuteTaskYieldStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
397
MSBuildEventSource.Log.ExecuteTaskReacquireStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
399
MSBuildEventSource.Log.ExecuteTaskReacquireStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
452
warningEvent.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
453
_taskLoggingContext
.LoggingService.LogBuildEvent(warningEvent);
456
_taskLoggingContext
.LoggingService.LogComment(
_taskLoggingContext
.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
460
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
461
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
464
_taskLoggingContext
.HasLoggedErrors = true;
551
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
552
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
592
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
593
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
633
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
634
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
716
_taskLoggingContext
.LoggingService.LogTelemetry(
_taskLoggingContext
.BuildEventContext, eventName, properties);
757
if (
_taskLoggingContext
== null)
762
return _warningsAsErrors ??=
_taskLoggingContext
.GetWarningsAsErrors();
777
if (
_taskLoggingContext
== null)
782
return _warningsNotAsErrors ??=
_taskLoggingContext
.GetWarningsNotAsErrors();
797
if (
_taskLoggingContext
== null)
802
return _warningsAsMessages ??=
_taskLoggingContext
.GetWarningsAsMessages();
889
LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores",
_taskLoggingContext
.TaskName,
929
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores",
_taskLoggingContext
.TaskName,
934
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning",
_taskLoggingContext
.TaskName,
978
MessageImportance minimumImportance = _taskHost.
_taskLoggingContext
?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
1166
_taskLoggingContext
.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);