119 references to Log
Microsoft.Build (81)
BackEnd\BuildManager\BuildManager.cs (2)
511
MSBuildEventSource.
Log
.BuildStart();
1114
MSBuildEventSource.
Log
.BuildStop();
BackEnd\Client\MSBuildClient.cs (2)
220
MSBuildEventSource.
Log
.MSBuildServerBuildStart(descriptiveCommandLine);
228
MSBuildEventSource.
Log
.MSBuildServerBuildStop(descriptiveCommandLine, _numConsoleWritePackets, _sizeOfConsoleWritePackets, _exitResult.MSBuildClientExitType.ToString(), _exitResult.MSBuildAppExitTypeString ?? string.Empty);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
966
MSBuildEventSource.
Log
.PacketReadSize(packetLength);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (11)
224
MSBuildEventSource.
Log
.ProjectCacheCreatePluginInstanceStart(pluginAssemblyPath);
243
MSBuildEventSource.
Log
.ProjectCacheCreatePluginInstanceStop(pluginAssemblyPath, pluginTypeName);
255
MSBuildEventSource.
Log
.ProjectCacheBeginBuildStart(pluginTypeName);
314
MSBuildEventSource.
Log
.ProjectCacheBeginBuildStop(pluginTypeName);
543
MSBuildEventSource.
Log
.ProjectCacheGetCacheResultStart(plugin.Name, buildRequest.ProjectFullPath, targetNames ?? MSBuildConstants.DefaultTargetsMarker);
563
if (MSBuildEventSource.
Log
.IsEnabled())
566
MSBuildEventSource.
Log
.ProjectCacheGetCacheResultStop(plugin.Name, buildRequest.ProjectFullPath, targetNames ?? "<default>", cacheResultType);
773
MSBuildEventSource.
Log
.ProjectCacheHandleBuildResultStart(plugin.Name, fileAccessContext.ProjectFullPath, targetNames);
784
MSBuildEventSource.
Log
.ProjectCacheHandleBuildResultStop(plugin.Name, fileAccessContext.ProjectFullPath, targetNames);
842
MSBuildEventSource.
Log
.ProjectCacheEndBuildStart(plugin.Name);
853
MSBuildEventSource.
Log
.ProjectCacheEndBuildStop(plugin.Name);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (5)
781
MSBuildEventSource.
Log
.RequestThreadProcStart();
784
MSBuildEventSource.
Log
.RequestThreadProcStop();
1109
MSBuildEventSource.
Log
.BuildProjectStart(_requestEntry.RequestConfiguration.ProjectFullPath);
1204
if (MSBuildEventSource.
Log
.IsEnabled())
1206
MSBuildEventSource.
Log
.BuildProjectStop(_requestEntry.RequestConfiguration.ProjectFullPath,
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
491
MSBuildEventSource.
Log
.TargetStart(currentTargetEntry.Name);
493
MSBuildEventSource.
Log
.TargetStop(currentTargetEntry.Name, currentTargetEntry.Result?.TargetResultCodeToString() ?? string.Empty);
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
480
MSBuildEventSource.
Log
.TargetUpToDateStart();
483
MSBuildEventSource.
Log
.TargetUpToDateStop((int)dependencyResult);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
430
MSBuildEventSource.
Log
.ExecuteTaskStart(_taskNode?.Name, taskLoggingContext.BuildEventContext.TaskId);
490
MSBuildEventSource.
Log
.ExecuteTaskStop(_taskNode?.Name, taskLoggingContext.BuildEventContext.TaskId);
BackEnd\Components\RequestBuilder\TaskHost.cs (4)
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);
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (2)
44
MSBuildEventSource.
Log
.CachedSdkResolverServiceResolveSdkStart(sdk.Name, solutionPath ?? string.Empty, projectPath ?? string.Empty);
82
MSBuildEventSource.
Log
.CachedSdkResolverServiceResolveSdkStop(sdk.Name, solutionPath ?? string.Empty, projectPath ?? string.Empty, result.Success, wasResultCached);
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (2)
71
MSBuildEventSource.
Log
.OutOfProcSdkResolverServiceRequestSdkPathFromMainNodeStart(submissionId, sdk.Name, solutionPath, projectPath);
91
MSBuildEventSource.
Log
.OutOfProcSdkResolverServiceRequestSdkPathFromMainNodeStop(submissionId, sdk.Name, solutionPath, projectPath, _lastResponse.Success, wasResultCached);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (6)
47
MSBuildEventSource.
Log
.SdkResolverLoadAllResolversStart();
68
MSBuildEventSource.
Log
.SdkResolverLoadAllResolversStop(resolvers.Count);
76
MSBuildEventSource.
Log
.SdkResolverFindResolversManifestsStart();
85
MSBuildEventSource.
Log
.SdkResolverFindResolversManifestsStop(allResolversManifests?.Count ?? 0);
256
MSBuildEventSource.
Log
.SdkResolverLoadResolversStart();
264
MSBuildEventSource.
Log
.SdkResolverLoadResolversStop(manifest.DisplayName ?? string.Empty, resolvers.Count);
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
322
MSBuildEventSource.
Log
.SdkResolverResolveSdkStart();
348
MSBuildEventSource.
Log
.SdkResolverResolveSdkStop(sdkResolver.Name, sdk.Name, solutionPath ?? string.Empty, projectPath ?? string.Empty, result?.Path ?? string.Empty, result?.Success ?? false);
Construction\ProjectRootElement.cs (6)
1551
if (MSBuildEventSource.
Log
.IsEnabled())
1553
MSBuildEventSource.
Log
.SaveStart(_projectFileLocation.LocationString);
1584
if (MSBuildEventSource.
Log
.IsEnabled())
1586
MSBuildEventSource.
Log
.SaveStop(_projectFileLocation.LocationString);
2100
MSBuildEventSource.
Log
.LoadDocumentStart(fullPath);
2130
MSBuildEventSource.
Log
.LoadDocumentStop(fullPath);
Evaluation\Evaluator.cs (14)
322
MSBuildEventSource.
Log
.EvaluateStart(root.ProjectFileLocation.File);
364
MSBuildEventSource.
Log
.EvaluateStop(root.ProjectFileLocation.File);
643
MSBuildEventSource.
Log
.EvaluatePass0Start(_projectRootElement.ProjectFileLocation.File);
657
MSBuildEventSource.
Log
.EvaluatePass0Stop(projectFile);
660
MSBuildEventSource.
Log
.EvaluatePass1Start(projectFile);
675
MSBuildEventSource.
Log
.EvaluatePass1Stop(projectFile);
678
MSBuildEventSource.
Log
.EvaluatePass2Start(projectFile);
689
MSBuildEventSource.
Log
.EvaluatePass2Stop(projectFile);
697
MSBuildEventSource.
Log
.EvaluatePass3Start(projectFile);
732
MSBuildEventSource.
Log
.EvaluatePass3Stop(projectFile);
735
MSBuildEventSource.
Log
.EvaluatePass4Start(projectFile);
766
MSBuildEventSource.
Log
.EvaluatePass4Stop(projectFile);
771
MSBuildEventSource.
Log
.EvaluatePass5Start(projectFile);
825
MSBuildEventSource.
Log
.EvaluatePass5Stop(projectFile);
Evaluation\LazyItemEvaluator.cs (2)
82
MSBuildEventSource.
Log
.EvaluateConditionStart(condition);
95
MSBuildEventSource.
Log
.EvaluateConditionStop(condition, result);
Evaluation\LazyItemEvaluator.IncludeOperation.cs (4)
107
if (MSBuildEventSource.
Log
.IsEnabled())
109
MSBuildEventSource.
Log
.ExpandGlobStart(_rootDirectory ?? string.Empty, glob, string.Join(", ", excludePatternsForGlobs));
124
if (MSBuildEventSource.
Log
.IsEnabled())
126
MSBuildEventSource.
Log
.ExpandGlobStop(_rootDirectory ?? string.Empty, glob, string.Join(", ", excludePatternsForGlobs));
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
57
MSBuildEventSource.
Log
.ApplyLazyItemOperationsStart(_itemElement.ItemType);
62
MSBuildEventSource.
Log
.ApplyLazyItemOperationsStop(_itemElement.ItemType);
Evaluation\ProjectParser.cs (2)
116
MSBuildEventSource.
Log
.ParseStart(projectRootElement.ProjectFileLocation.File);
121
MSBuildEventSource.
Log
.ParseStop(projectRootElement.ProjectFileLocation.File);
Graph\ProjectGraph.cs (4)
457
if (MSBuildEventSource.
Log
.IsEnabled())
469
MSBuildEventSource.
Log
.ProjectGraphConstructionStart(etwArgs);
477
if (MSBuildEventSource.
Log
.IsEnabled())
479
MSBuildEventSource.
Log
.ProjectGraphConstructionStop(measurementInfo.ETWArgs);
TypeLoader.cs (4)
381
MSBuildEventSource.
Log
.LoadAssemblyAndFindTypeStart();
389
MSBuildEventSource.
Log
.CreateLoadedTypeStart(loadedAssembly.FullName);
393
MSBuildEventSource.
Log
.CreateLoadedTypeStop(loadedAssembly.FullName);
398
MSBuildEventSource.
Log
.LoadAssemblyAndFindTypeStop(_assemblyLoadInfo.AssemblyFile, numberOfTypesSearched);
Microsoft.Build.Framework (9)
ReuseableStringBuilder.cs (6)
266
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: capacity, oldCapacity: 0, type: "miss");
275
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: newCapacity, oldCapacity: returned.Capacity, type: "miss-need-bigger");
284
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: capacity, oldCapacity: returned.Capacity, type: "hit");
319
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: "discard");
345
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryUnbalanced(oldHash: oldSharedBuilder.GetHashCode(), newHash: returningBuilder.GetHashCode());
348
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: returning._borrowedBuilder != returningBuilder ? "return-new" : "return");
StringBuilderCache.cs (3)
54
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStart(hash: sb.GetHashCode(), newCapacity: capacity, oldCapacity: sb.Capacity, type: "sbc-hit");
63
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStart(hash: stringBuilder.GetHashCode(), newCapacity: capacity, oldCapacity: stringBuilder.Capacity, type: "sbc-miss");
96
MSBuildEventSource.
Log
.ReusableStringBuilderFactoryStop(hash: sb.GetHashCode(), returningCapacity: sb.Capacity, returningLength: sb.Length, type: sb.Capacity <= MAX_BUILDER_SIZE ? "sbc-return" : "sbc-discard");
Microsoft.Build.Tasks.Core (21)
AssemblyDependency\ReferenceTable.cs (4)
1383
MSBuildEventSource.
Log
.RarRemoveReferencesMarkedForExclusionStart();
1471
MSBuildEventSource.
Log
.RarRemoveReferencesMarkedForExclusionStop();
1636
MSBuildEventSource.
Log
.RarComputeClosureStart();
1647
MSBuildEventSource.
Log
.RarComputeClosureStop();
AssemblyDependency\ResolveAssemblyReference.cs (5)
1092
MSBuildEventSource.
Log
.RarLogResultsStart();
1321
MSBuildEventSource.
Log
.RarLogResultsStop();
2193
MSBuildEventSource.
Log
.RarOverallStart();
2685
MSBuildEventSource.
Log
.RarOverallStop(_assemblyNames?.Length ?? -1, _assemblyFiles?.Length ?? -1, _resolvedFiles?.Length ?? -1, _resolvedDependencyFiles?.Length ?? -1, _copyLocalFiles?.Length ?? -1, _findDependencies);
2702
MSBuildEventSource.
Log
.RarOverallStop(_assemblyNames?.Length ?? -1, _assemblyFiles?.Length ?? -1, _resolvedFiles?.Length ?? -1, _resolvedDependencyFiles?.Length ?? -1, _copyLocalFiles?.Length ?? -1, _findDependencies);
Copy.cs (7)
501
MSBuildEventSource.
Log
.CopyUpToDateStart(destPath);
525
MSBuildEventSource.
Log
.CopyUpToDateStop(destPath, true);
649
MSBuildEventSource.
Log
.CopyUpToDateStart(destItem.ItemSpec);
673
MSBuildEventSource.
Log
.CopyUpToDateStop(destItem.ItemSpec, true);
907
MSBuildEventSource.
Log
.CopyUpToDateStop(destinationFileState.Name, true);
911
MSBuildEventSource.
Log
.CopyUpToDateStop(destinationFileState.Name, false);
925
MSBuildEventSource.
Log
.CopyUpToDateStop(destinationFileState.Name, true);
FileIO\WriteLinesToFile.cs (3)
108
MSBuildEventSource.
Log
.WriteLinesToFileUpToDateStart();
119
MSBuildEventSource.
Log
.WriteLinesToFileUpToDateStop(File.ItemSpec, true);
134
MSBuildEventSource.
Log
.WriteLinesToFileUpToDateStop(File.ItemSpec, false);
GenerateResource.cs (2)
657
MSBuildEventSource.
Log
.GenerateResourceOverallStart();
926
MSBuildEventSource.
Log
.GenerateResourceOverallStop();
MSBuild (8)
TypeLoader.cs (4)
381
MSBuildEventSource.
Log
.LoadAssemblyAndFindTypeStart();
389
MSBuildEventSource.
Log
.CreateLoadedTypeStart(loadedAssembly.FullName);
393
MSBuildEventSource.
Log
.CreateLoadedTypeStop(loadedAssembly.FullName);
398
MSBuildEventSource.
Log
.LoadAssemblyAndFindTypeStop(_assemblyLoadInfo.AssemblyFile, numberOfTypesSearched);
XMake.cs (4)
685
if (MSBuildEventSource.
Log
.IsEnabled())
687
MSBuildEventSource.
Log
.MSBuildExeStart(string.Join(" ", commandLine));
1079
if (MSBuildEventSource.
Log
.IsEnabled())
1081
MSBuildEventSource.
Log
.MSBuildExeStop(string.Join(" ", commandLine));