BackEnd\BuildManager\BuildManager.cs (7)
403public MessageImportance Importance { get; }
409public DeferredBuildMessage(string text, MessageImportance importance)
416public DeferredBuildMessage(string text, MessageImportance importance, string filePath)
581loggingService.LogComment(buildEventContext: BuildEventContext.Invalid, MessageImportance.Normal, "BuildCheckEnabled");
650loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "UsingInputCaches", string.Join(";", _buildParameters.InputResultsCacheFiles));
655loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "WritingToOutputCache", _buildParameters.OutputResultsCacheFile);
3279loggingService?.LogCommentFromText(BuildEventContext.Invalid, MessageImportance.High, message);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (13)
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");
907public override void LogMessage(string message, MessageImportance? messageImportance = null)
911messageImportance ?? MessageImportance.Normal,
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (9)
257Log.LogMessageFromResources(MessageImportance.Low, "General.UndefineProperties");
261Log.LogMessageFromText($" {property}", MessageImportance.Low);
272Log.LogMessageFromResources(MessageImportance.Low, "MSBuild.NotBuildingInParallel");
282Log.LogMessageFromResources(MessageImportance.Low, "MSBuild.NoStopOnFirstFailure");
318Log.LogMessageFromResources(MessageImportance.Low, "MSBuild.SkippingRemainingProjects");
381Log.LogMessageFromResources(MessageImportance.High, "MSBuild.ProjectFileNotFoundMessage", project.ItemSpec);
589log.LogMessageFromResources(MessageImportance.Low, "General.ProjectUndefineProperties", projectNames[i]);
593log.LogMessageFromText($" {property}", MessageImportance.Low);
645log.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\TaskHost.cs (7)
461_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning");
847LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores", _taskLoggingContext.TaskName,
887LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores", _taskLoggingContext.TaskName,
892LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning", _taskLoggingContext.TaskName,
926public override bool LogsMessagesOfImportance(MessageImportance importance)
936MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
BackEnd\Components\Scheduler\Scheduler.cs (7)
558loggingService.LogComment(context, MessageImportance.Normal, "DetailedSummaryHeader");
564loggingService.LogComment(context, MessageImportance.Normal, "BuildHierarchyHeader");
1976MessageImportance.Normal,
2325loggingService.LogComment(context, MessageImportance.Normal, "NodeUtilizationHeader", nodeIndices.ToString());
2418loggingService.LogComment(context, MessageImportance.Normal, "NodeUtilizationSummary", utilitzationPercentages.ToString(), (utilizationAverage / (double)_availableNodes.Count) * 100);
2489loggingService.LogComment(context, MessageImportance.Normal, "NodeUtilizationEntry", stringBuilder, duration, accumulatedDuration, durationBar);
2523MessageImportance.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)
329loggingContext.LogComment(MessageImportance.Low, "SDKResolverNullMessage", sdkResolver.Name, sdk.ToString());
357loggingContext.LogComment(MessageImportance.Low, "SucceededToResolveSDK", sdk.ToString(), sdkResolver.Name, result.Path ?? "null", result.Version ?? "null");
373else if (loggingContext.LoggingService.MinimumRequiredMessageImportance >= MessageImportance.Low)
378loggingContext.LogComment(MessageImportance.Low, "SDKResolverAttempt", sdkResolver.Name, sdk.ToString(), resultWarnings, resultErrors);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (4)
343_taskLoggingContext.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLoaction, _taskFactoryWrapper.TaskFactoryLoadedType.Path);
1316MessageImportance.Low,
1501_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
1588_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString);
Evaluation\Evaluator.cs (6)
1047_evaluationLoggingContext.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1086_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1109_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1300_evaluationLoggingContext.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1575_evaluationLoggingContext.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1618_evaluationLoggingContext.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
Instance\ProjectInstance.cs (4)
2564loggingService.LogComment(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedExplicitToolsVersion", toolsVersion);
2627loggingService.LogComment(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "2.0", solutionVersion);
2632loggingService.LogComment(projectBuildEventContext, MessageImportance.Low, "OldWrapperGeneratedOldSolutionVersion", "3.5", solutionVersion);
2896loggingService.LogCommentFromText(projectBuildEventContext, MessageImportance.Low, comment);
Instance\TaskRegistry.cs (5)
492targetLoggingContext.LogComment(MessageImportance.Low, "TaskFound", taskName, taskFactory.Name);
496targetLoggingContext.LogComment(MessageImportance.Low, "TaskFoundFromFactory", taskName, taskFactory.Name);
501targetLoggingContext.LogComment(MessageImportance.Low, "TaskNeedsSTA", taskName);
752loggingContext.LogComment(MessageImportance.Low, "OverrideUsingTaskElementCreated", taskName, projectUsingTaskInXml.OverrideLocation);
1512targetLoggingContext.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)
258public bool LogsMessagesOfImportance(MessageImportance importance)
277Debug.Assert(messageArgs == null || messageArgs.Length == 0 || messageArgs[0].GetType() != typeof(MessageImportance), "Did you call the wrong overload?");
279LogMessage(MessageImportance.Normal, message, messageArgs);
293public void LogMessage(MessageImportance importance, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string message, params object[] messageArgs)
361MessageImportance importance,
472Debug.Assert(messageArgs == null || messageArgs.Length == 0 || messageArgs[0].GetType() != typeof(MessageImportance), "Did you call the wrong overload?");
474LogMessageFromResources(MessageImportance.Normal, messageResourceName, messageArgs);
488public void LogMessageFromResources(MessageImportance importance, string messageResourceName, params object[] messageArgs)
594LogCommandLine(MessageImportance.Low, commandLine);
604public void LogCommandLine(MessageImportance importance, string commandLine)
1309return LogMessagesFromFile(fileName, MessageImportance.Low);
1321public bool LogMessagesFromFile(string fileName, MessageImportance messageImportance)
1348public bool LogMessagesFromStream(TextReader stream, MessageImportance messageImportance)
1376public bool LogMessageFromText(string lineOfText, MessageImportance messageImportance)