3 instantiations of ProjectLoggingContext
Microsoft.Build (3)
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
91return new ProjectLoggingContext(this, request, configuration.ProjectFullPath, configuration.ToolsVersion, evaluationId);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
97return (args, new ProjectLoggingContext(nodeLoggingContext, args));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1183_projectLoggingContext = new ProjectLoggingContext(
22 references to ProjectLoggingContext
Microsoft.Build (22)
BackEnd\Components\Logging\NodeLoggingContext.cs (6)
65internal ProjectLoggingContext LogProjectStarted(BuildRequestEntry requestEntry) 67(ProjectStartedEventArgs arg, ProjectLoggingContext ctx) = CreateProjectLoggingContext(requestEntry); 72internal (ProjectStartedEventArgs, ProjectLoggingContext) CreateProjectLoggingContext(BuildRequestEntry requestEntry) 75return ProjectLoggingContext.CreateLoggingContext(this, requestEntry); 84internal ProjectLoggingContext LogProjectStarted(BuildRequest request, BuildRequestConfiguration configuration) 100ProjectLoggingContext projectLoggingContext = LogProjectStarted(request, configuration);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
81public static (ProjectStartedEventArgs, ProjectLoggingContext) CreateLoggingContext(
BackEnd\Components\Logging\TargetLoggingContext.cs (4)
23private ProjectLoggingContext _projectLoggingContext; 33internal TargetLoggingContext(ProjectLoggingContext projectLoggingContext, string projectFullPath, ProjectTargetInstance target, string parentTargetName, TargetBuiltReason buildReason) 41private static BuildEventContext CreateInitialContext(ProjectLoggingContext projectLoggingContext, 64internal ProjectLoggingContext ProjectLoggingContext
BackEnd\Components\RequestBuilder\ITargetBuilder.cs (1)
29Task<BuildResult> BuildTargets(ProjectLoggingContext projectLoggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targets, Lookup baseLookup, CancellationToken cancellationToken);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
28using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.ProjectLoggingContext; 92private ProjectLoggingContext _projectLoggingContext; 1403(ProjectStartedEventArgs args, ProjectLoggingContext ctx) = _nodeLoggingContext.CreateProjectLoggingContext(_requestEntry);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
17using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.ProjectLoggingContext; 76private ProjectLoggingContext _projectLoggingContext; 108public async Task<BuildResult> BuildTargets(ProjectLoggingContext loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targetNames, Lookup baseLookup, CancellationToken cancellationToken)
BackEnd\Components\RequestBuilder\TargetEntry.cs (4)
20using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.ProjectLoggingContext; 333internal List<TargetSpecification> GetDependencies(ProjectLoggingContext projectLoggingContext) 417internal async Task ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry, ProjectLoggingContext projectLoggingContext, CancellationToken cancellationToken) 697internal List<TargetSpecification> GetErrorTargets(ProjectLoggingContext projectLoggingContext)