2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
220
{
_taskLoggingContext
= value; }
1093
_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);
457
warningEvent.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
458
_taskLoggingContext
.LoggingService.LogBuildEvent(warningEvent);
461
_taskLoggingContext
.LoggingService.LogComment(
_taskLoggingContext
.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
465
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
466
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
469
_taskLoggingContext
.HasLoggedErrors = true;
509
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
510
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
550
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
551
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
591
e.BuildEventContext =
_taskLoggingContext
.BuildEventContext;
592
_taskLoggingContext
.LoggingService.LogBuildEvent(e);
674
_taskLoggingContext
.LoggingService.LogTelemetry(
_taskLoggingContext
.BuildEventContext, eventName, properties);
715
if (
_taskLoggingContext
== null)
720
return _warningsAsErrors ??=
_taskLoggingContext
.GetWarningsAsErrors();
735
if (
_taskLoggingContext
== null)
740
return _warningsNotAsErrors ??=
_taskLoggingContext
.GetWarningsNotAsErrors();
755
if (
_taskLoggingContext
== null)
760
return _warningsAsMessages ??=
_taskLoggingContext
.GetWarningsAsMessages();
847
LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores",
_taskLoggingContext
.TaskName,
887
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores",
_taskLoggingContext
.TaskName,
892
LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning",
_taskLoggingContext
.TaskName,
936
MessageImportance minimumImportance = _taskHost.
_taskLoggingContext
?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
1124
_taskLoggingContext
.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);