2 implementations of LogComment
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
34
public void
LogComment
(BuildEventContext buildEventContext, MessageImportance importance, string messageResourceName, params object[] messageArgs)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\MockLoggingService.cs (1)
303
public void
LogComment
(BuildEventContext buildEventContext, MessageImportance importance, string messageResourceName, params object[] messageArgs)
39 references to LogComment
Microsoft.Build (39)
BackEnd\BuildManager\BuildManager.cs (2)
647
loggingService.
LogComment
(BuildEventContext.Invalid, MessageImportance.Normal, "UsingInputCaches", string.Join(";", _buildParameters.InputResultsCacheFiles));
652
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 (1)
153
LoggingService.
LogComment
(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", toolsVersion);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (11)
253
_loggingService.
LogComment
(buildEventContext, MessageImportance.High, "LoadingProjectCachePlugin", pluginTypeName);
513
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheQueryStartedWithDefaultTargets", buildRequest.ProjectFullPath);
517
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheQueryStartedWithTargetNames", buildRequest.ProjectFullPath, targetNames);
575
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheHitWithDefaultTargets", buildRequest.ProjectFullPath);
579
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheHitWithTargetNames", buildRequest.ProjectFullPath, targetNames);
586
_loggingService.
LogComment
(buildEventContext, MessageImportance.High, "ProjectCacheHitWithOutputs", buildRequest.ProjectInstance.GetPropertyValue(ReservedPropertyNames.projectName));
593
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheMissWithDefaultTargets", buildRequest.ProjectFullPath);
597
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheMissWithTargetNames", buildRequest.ProjectFullPath, targetNames);
604
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheNotApplicableWithDefaultTargets", buildRequest.ProjectFullPath);
608
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "ProjectCacheNotApplicableWithTargetNames", buildRequest.ProjectFullPath, targetNames);
815
_loggingService.
LogComment
(buildEventContext, MessageImportance.Low, "ProjectCacheEndBuild");
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (8)
281
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low, "BuildTargetCompletely", _targetToAnalyze.Name);
299
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Normal, "BuildTargetPartially", _targetToAnalyze.Name);
451
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Normal,
454
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low,
463
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low, "BuildTargetCompletely", _targetToAnalyze.Name);
464
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low, "BuildTargetCompletelyNoInputsSpecified");
492
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Normal,
495
_loggingService.
LogComment
(_buildEventContext, MessageImportance.Low,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
460
_taskLoggingContext.LoggingService.
LogComment
(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
BackEnd\Components\Scheduler\Scheduler.cs (7)
559
loggingService.
LogComment
(context, MessageImportance.Normal, "DetailedSummaryHeader");
565
loggingService.
LogComment
(context, MessageImportance.Normal, "BuildHierarchyHeader");
1978
emitNonErrorLogs = ls => ls.
LogComment
(
2329
loggingService.
LogComment
(context, MessageImportance.Normal, "NodeUtilizationHeader", nodeIndices.ToString());
2422
loggingService.
LogComment
(context, MessageImportance.Normal, "NodeUtilizationSummary", utilitzationPercentages.ToString(), (utilizationAverage / (double)_availableNodes.Count) * 100);
2493
loggingService.
LogComment
(context, MessageImportance.Normal, "NodeUtilizationEntry", stringBuilder, duration, accumulatedDuration, durationBar);
2525
loggingService.
LogComment
(
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (2)
65
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "CustomAnalyzerFailedRuleLoading", loaderException?.Message);
71
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "CustomAnalyzerFailedRuleLoading", ex?.Message);
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
199
_loggingService.
LogComment
(buildEventContext, MessageImportance.Normal, "CustomAnalyzerSuccessfulAcquisition", instance.FriendlyName);
Construction\Solution\SolutionProjectGenerator.cs (1)
1555
_loggingService.
LogComment
(
Instance\ProjectInstance.cs (3)
2419
loggingService.
LogComment
(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedExplicitToolsVersion", toolsVersion);
2444
loggingService.
LogComment
(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "2.0", solutionVersion);
2449
loggingService.
LogComment
(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "3.5", solutionVersion);
Instance\TaskRegistry.cs (1)
748
loggingService.
LogComment
(context, MessageImportance.Low, "OverrideUsingTaskElementCreated", taskName, projectUsingTaskInXml.OverrideLocation);