2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
220
{
_taskLoggingContext
= value; }
1130
_taskLoggingContext
= null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
216
{ return
_taskLoggingContext
; }
362
MSBuildEventSource.Log.ExecuteTaskYieldStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
391
MSBuildEventSource.Log.ExecuteTaskYieldStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
392
MSBuildEventSource.Log.ExecuteTaskReacquireStart(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
394
MSBuildEventSource.Log.ExecuteTaskReacquireStop(
_taskLoggingContext
.TaskName,
_taskLoggingContext
.BuildEventContext.TaskId);
447
warningEvent.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
448
_taskLoggingContext
.LoggingService.LogBuildEvent(warningEvent);
451
_taskLoggingContext
.LoggingService.LogComment(
_taskLoggingContext
.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
455
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
456
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
459
_taskLoggingContext
.HasLoggedErrors = true;
546
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
547
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
587
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
588
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
628
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
629
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
711
_taskLoggingContext
.LoggingService.LogTelemetry(
_taskLoggingContext
.BuildEventContext, eventName, properties);
752
if (
_taskLoggingContext
== null)
757
return _warningsAsErrors ??=
_taskLoggingContext
.GetWarningsAsErrors();
772
if (
_taskLoggingContext
== null)
777
return _warningsNotAsErrors ??=
_taskLoggingContext
.GetWarningsNotAsErrors();
792
if (
_taskLoggingContext
== null)
797
return _warningsAsMessages ??=
_taskLoggingContext
.GetWarningsAsMessages();
884
LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores",
_taskLoggingContext
.TaskName,
924
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores",
_taskLoggingContext
.TaskName,
929
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning",
_taskLoggingContext
.TaskName,
973
MessageImportance minimumImportance = _taskHost.
_taskLoggingContext
?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
1161
_taskLoggingContext
.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);