2 implementations of LogComment
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
37
public void
LogComment
(BuildEventContext buildEventContext, MessageImportance importance, string messageResourceName, params object[] messageArgs)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\MockLoggingService.cs (1)
318
public void
LogComment
(BuildEventContext buildEventContext, MessageImportance importance, string messageResourceName, params object[] messageArgs)
36 references to LogComment
Microsoft.Build (36)
BackEnd\BuildManager\BuildManager.cs (3)
582
loggingService.
LogComment
(buildEventContext: BuildEventContext.Invalid, MessageImportance.Normal, "BuildCheckEnabled");
651
loggingService.
LogComment
(BuildEventContext.Invalid, MessageImportance.Normal, "UsingInputCaches", string.Join(";", _buildParameters.InputResultsCacheFiles));
656
loggingService.
LogComment
(BuildEventContext.Invalid, MessageImportance.Normal, "WritingToOutputCache", _buildParameters.OutputResultsCacheFile);
BackEnd\Components\Logging\LoggingContext.cs (1)
128
_loggingService.
LogComment
(_eventContext, importance, messageResourceName, messageArgs);
BackEnd\Components\Logging\ProjectLoggingContext.cs (2)
106
LoggingService.
LogComment
(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", projectStarted.ToolsVersion);
145
LoggingService.
LogComment
(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", toolsVersion);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (11)
254
_loggingService.
LogComment
(buildEventContext, MessageImportance.High, "LoadingProjectCachePlugin", pluginTypeName);
517
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheQueryStartedWithDefaultTargets", buildRequest.ProjectFullPath);
521
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheQueryStartedWithTargetNames", buildRequest.ProjectFullPath, targetNames);
579
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheHitWithDefaultTargets", buildRequest.ProjectFullPath);
583
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheHitWithTargetNames", buildRequest.ProjectFullPath, targetNames);
590
_loggingService.
LogComment
(buildEventContext, MessageImportance.High, "ProjectCacheHitWithOutputs", buildRequest.ProjectInstance!.GetPropertyValue(ReservedPropertyNames.projectName));
597
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheMissWithDefaultTargets", buildRequest.ProjectFullPath);
601
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheMissWithTargetNames", buildRequest.ProjectFullPath, targetNames);
608
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheNotApplicableWithDefaultTargets", buildRequest.ProjectFullPath);
612
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheNotApplicableWithTargetNames", buildRequest.ProjectFullPath, targetNames);
819
_loggingService.
LogComment
(buildEventContext, MessageImportance.Low, "ProjectCacheEndBuild");
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (8)
282
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low, "BuildTargetCompletely", _targetToAnalyze.Name);
300
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Normal, "BuildTargetPartially", _targetToAnalyze.Name);
456
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Normal,
459
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low,
468
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low, "BuildTargetCompletely", _targetToAnalyze.Name);
469
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low, "BuildTargetCompletelyNoInputsSpecified");
497
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Normal,
500
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
461
_taskLoggingContext.LoggingService.
LogComment
(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
BackEnd\Components\Scheduler\Scheduler.cs (7)
558
loggingService.
LogComment
(context, MessageImportance.Normal, "DetailedSummaryHeader");
564
loggingService.
LogComment
(context, MessageImportance.Normal, "BuildHierarchyHeader");
1974
emitNonErrorLogs = ls => ls.
LogComment
(
2325
loggingService.
LogComment
(context, MessageImportance.Normal, "NodeUtilizationHeader", nodeIndices.ToString());
2418
loggingService.
LogComment
(context, MessageImportance.Normal, "NodeUtilizationSummary", utilitzationPercentages.ToString(), (utilizationAverage / (double)_availableNodes.Count) * 100);
2489
loggingService.
LogComment
(context, MessageImportance.Normal, "NodeUtilizationEntry", stringBuilder, duration, accumulatedDuration, durationBar);
2521
loggingService.
LogComment
(
Instance\ProjectInstance.cs (3)
2564
loggingService.
LogComment
(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedExplicitToolsVersion", toolsVersion);
2627
loggingService.
LogComment
(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "2.0", solutionVersion);
2632
loggingService.
LogComment
(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "3.5", solutionVersion);