BackEnd\BuildManager\BuildManager.cs (8)
414public MessageImportance Importance { get; }
427public DeferredBuildMessage(string text, MessageImportance importance)
435public DeferredBuildMessage(string text, MessageImportance importance, string filePath)
451Importance = MessageImportance.Normal;
638loggingService.LogComment(buildEventContext: BuildEventContext.Invalid, MessageImportance.Normal, "BuildCheckEnabled");
707loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "UsingInputCaches", string.Join(";", _buildParameters.InputResultsCacheFiles));
712loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "WritingToOutputCache", _buildParameters.OutputResultsCacheFile);
3530loggingService?.LogCommentFromText(BuildEventContext.Invalid, MessageImportance.High, message);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (15)
260_loggingService.LogComment(buildEventContext, MessageImportance.High, "LoadingProjectCachePlugin", pluginTypeName);
598_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheQueryStartedWithDefaultTargets", buildRequest.ProjectFullPath);
602_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheQueryStartedWithTargetNames", buildRequest.ProjectFullPath, targetNames);
675_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheHitWithDefaultTargets", buildRequest.ProjectFullPath);
679_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheHitWithTargetNames", buildRequest.ProjectFullPath, targetNames);
686_loggingService.LogComment(buildEventContext, MessageImportance.High, "ProjectCacheHitWithOutputs", buildRequest.ProjectInstance!.GetPropertyValue(ReservedPropertyNames.projectName));
693_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheMissWithDefaultTargets", buildRequest.ProjectFullPath);
697_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheMissWithTargetNames", buildRequest.ProjectFullPath, targetNames);
704_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheNotApplicableWithDefaultTargets", buildRequest.ProjectFullPath);
708_loggingService.LogComment(buildEventContext, MessageImportance.Normal, "ProjectCacheNotApplicableWithTargetNames", buildRequest.ProjectFullPath, targetNames);
963_loggingService.LogComment(buildEventContext, MessageImportance.Low, "ProjectCacheEndBuild");
1062public override void LogMessage(string message, MessageImportance? messageImportance = null)
1066messageImportance ?? MessageImportance.Normal,
1117public override void LogMessage(string message, MessageImportance? messageImportance = null)
1121messageImportance ?? MessageImportance.Normal,
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (9)
263Log.LogMessageFromResources(MessageImportance.Low, "General.UndefineProperties");
267Log.LogMessageFromText($" {property}", MessageImportance.Low);
278Log.LogMessageFromResources(MessageImportance.Low, "MSBuild.NotBuildingInParallel");
288Log.LogMessageFromResources(MessageImportance.Low, "MSBuild.NoStopOnFirstFailure");
324Log.LogMessageFromResources(MessageImportance.Low, "MSBuild.SkippingRemainingProjects");
393Log.LogMessageFromResources(MessageImportance.High, "MSBuild.ProjectFileNotFoundMessage", project.ItemSpec);
601log.LogMessageFromResources(MessageImportance.Low, "General.ProjectUndefineProperties", projectNames[i]);
605log.LogMessageFromText($" {property}", MessageImportance.Low);
657log.LogMessageFromResources(MessageImportance.Low, "MSBuild.SkippingRemainingTargets");
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (11)
245Importance = MessageImportance.Normal
282_loggingService.LogComment(_buildEventContext, MessageImportance.Low, "BuildTargetCompletely", _targetToAnalyze.Name);
288_loggingService.LogCommentFromText(_buildEventContext, MessageImportance.Low, reason);
300_loggingService.LogComment(_buildEventContext, MessageImportance.Normal, "BuildTargetPartially", _targetToAnalyze.Name);
305_loggingService.LogCommentFromText(_buildEventContext, MessageImportance.Low, reason);
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\TaskBuilder.cs (10)
491taskLoggingContext.LogCommentFromText(MessageImportance.Low, s);
540_targetLoggingContext.LogCommentFromText(MessageImportance.Low, s);
642if (_targetLoggingContext.LoggingService.MinimumRequiredMessageImportance > MessageImportance.Low &&
652MessageImportance.Low,
799taskLoggingContext.LogComment(MessageImportance.Low, "MSBuildTaskInheritedSkipNonexistentTargets");
930taskLoggingContext.LogComment(MessageImportance.Normal, "ErrorConvertedIntoWarning");
968taskLoggingContext.LogComment(MessageImportance.Normal, "ErrorConvertedIntoWarning");
998taskLoggingContext.LogComment(MessageImportance.Normal, "TaskReturnedFalseButDidNotLogError", _taskNode.Name);
1007taskLoggingContext.LogComment(MessageImportance.Normal, "ErrorConvertedIntoWarning");
1045MessageImportance.Normal,
BackEnd\Components\RequestBuilder\TaskHost.cs (7)
462_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
848LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores", _taskLoggingContext.TaskName,
888LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores", _taskLoggingContext.TaskName,
893LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning", _taskLoggingContext.TaskName,
927public override bool LogsMessagesOfImportance(MessageImportance importance)
937MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
BackEnd\Components\Scheduler\Scheduler.cs (7)
618loggingService.LogComment(context, MessageImportance.Normal, "DetailedSummaryHeader");
624loggingService.LogComment(context, MessageImportance.Normal, "BuildHierarchyHeader");
2061MessageImportance.Normal,
2446loggingService.LogComment(context, MessageImportance.Normal, "NodeUtilizationHeader", nodeIndices.ToString());
2539loggingService.LogComment(context, MessageImportance.Normal, "NodeUtilizationSummary", utilitzationPercentages.ToString(), (utilizationAverage / (double)_availableNodes.Count) * 100);
2610loggingService.LogComment(context, MessageImportance.Normal, "NodeUtilizationEntry", stringBuilder, duration, accumulatedDuration, durationBar);
2644MessageImportance.Normal,
BackEnd\Components\Scheduler\SchedulingPlan.cs (4)
128loggingService.LogCommentFromText(buildEventContext, MessageImportance.Low, ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CantWriteBuildPlan", planName));
174loggingService.LogCommentFromText(buildEventContext, MessageImportance.Low, ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CantReadBuildPlan", planName));
178loggingService.LogCommentFromText(buildEventContext, MessageImportance.Low, ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BuildPlanCorrupt", planName));
182loggingService.LogCommentFromText(buildEventContext, MessageImportance.Low, ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BuildPlanCorrupt", planName));
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
339loggingContext.LogComment(MessageImportance.Low, "SDKResolverNullMessage", sdkResolver.Name, sdk.ToString());
367loggingContext.LogComment(MessageImportance.Low, "SucceededToResolveSDK", sdk.ToString(), sdkResolver.Name, result.Path ?? "null", result.Version ?? "null");
383else if (loggingContext.LoggingService.MinimumRequiredMessageImportance >= MessageImportance.Low)
388loggingContext.LogComment(MessageImportance.Low, "SDKResolverAttempt", sdkResolver.Name, sdk.ToString(), resultWarnings, resultErrors);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (4)
390_taskLoggingContext.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
1411MessageImportance.Low,
1624_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
1711_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
Evaluation\Evaluator.cs (6)
1052_evaluationLoggingContext.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1091_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1114_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1305_evaluationLoggingContext.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1580_evaluationLoggingContext.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1623_evaluationLoggingContext.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
Instance\ProjectInstance.cs (5)
1442_loggingContext.LogComment(MessageImportance.Low, messageResourceName, name, attemptedValue, existingProperty.EvaluatedValue);
2674loggingService.LogComment(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedExplicitToolsVersion", toolsVersion);
2737loggingService.LogComment(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "2.0", solutionVersion);
2742loggingService.LogComment(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "3.5", solutionVersion);
3011loggingService.LogCommentFromText(projectBuildEventContext, MessageImportance.Low, comment);
Instance\TaskRegistry.cs (5)
476targetLoggingContext.LogComment(MessageImportance.Low, "TaskFound", taskName, taskFactory.Name);
480targetLoggingContext.LogComment(MessageImportance.Low, "TaskFoundFromFactory", taskName, taskFactory.Name);
485targetLoggingContext.LogComment(MessageImportance.Low, "TaskNeedsSTA", taskName);
738loggingContext.LogComment(MessageImportance.Low, "OverrideUsingTaskElementCreated", taskName, projectUsingTaskInXml.OverrideLocation);
1475targetLoggingContext.LogComment(MessageImportance.Low, "InitializingTaskFactory", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation);
PlatformNegotiation.cs (7)
53log?.LogMessageFromResources(MessageImportance.Low, "GetCompatiblePlatform.ReferencedProjectHasDefinitivePlatform", projectPath, referencedProjectPlatform);
59log?.LogMessageFromResources(MessageImportance.Low, "GetCompatiblePlatform.SamePlatform");
68log?.LogMessageFromResources(MessageImportance.Low, "GetCompatiblePlatform.FoundMappingInTable", currentProjectPlatform, buildProjectReferenceAs, projectReferenceLookupTableMetadata);
76log?.LogMessageFromResources(MessageImportance.Low, "GetCompatiblePlatform.FoundMappingInTable", currentProjectPlatform, buildProjectReferenceAs, platformLookupTable);
82log?.LogMessageFromResources(MessageImportance.Low, "GetCompatiblePlatform.AnyCPUDefault");
94log?.LogMessageFromResources(MessageImportance.Low, "GetCompatiblePlatform.ReferencedProjectHasDefinitivePlatform", projectPath, referencedProjectPlatform);
122log?.LogMessageFromResources(MessageImportance.Low, "GetCompatiblePlatform.LookupTableParsed", stringTable);
TaskLoggingHelper.cs (14)
256public bool LogsMessagesOfImportance(MessageImportance importance)
275Debug.Assert(messageArgs == null || messageArgs.Length == 0 || messageArgs[0].GetType() != typeof(MessageImportance), "Did you call the wrong overload?");
277LogMessage(MessageImportance.Normal, message, messageArgs);
291public void LogMessage(MessageImportance importance, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string message, params object[] messageArgs)
359MessageImportance importance,
470Debug.Assert(messageArgs == null || messageArgs.Length == 0 || messageArgs[0].GetType() != typeof(MessageImportance), "Did you call the wrong overload?");
472LogMessageFromResources(MessageImportance.Normal, messageResourceName, messageArgs);
486public void LogMessageFromResources(MessageImportance importance, string messageResourceName, params object[] messageArgs)
592LogCommandLine(MessageImportance.Low, commandLine);
602public void LogCommandLine(MessageImportance importance, string commandLine)
1278return LogMessagesFromFile(fileName, MessageImportance.Low);
1290public bool LogMessagesFromFile(string fileName, MessageImportance messageImportance)
1317public bool LogMessagesFromStream(TextReader stream, MessageImportance messageImportance)
1345public bool LogMessageFromText(string lineOfText, MessageImportance messageImportance)