62 references to LoggingService
Microsoft.Build (62)
BackEnd\Components\Logging\BuildLoggingContext.cs (1)
63LoggingService.LogFatalTaskError(BuildEventContext, exception, file, taskName);
BackEnd\Components\Logging\EvaluationLoggingContext.cs (4)
33LoggingService.LogProjectEvaluationStarted(BuildEventContext, _projectFile); 34LoggingService.BuildEngineDataRouter.ProcessProjectEvaluationStarted( 35new CheckLoggingContext(LoggingService, BuildEventContext), _projectFile); 48LoggingService.LogProjectEvaluationFinished(BuildEventContext, _projectFile, globalProperties, properties, items, profilerResult);
BackEnd\Components\Logging\LoggingContext.cs (2)
291LoggingService.LogBuildEvent(buildEvent); 302LoggingService.LogFatalBuildError(BuildEventContext, exception, file);
BackEnd\Components\Logging\NodeLoggingContext.cs (3)
31LoggingService.LogBuildStarted(); 48LoggingService.LogBuildFinished(success); 62LoggingService.LogProjectStarted(arg);
BackEnd\Components\Logging\ProjectLoggingContext.cs (5)
111LoggingService.LogComment(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", projectStarted.ToolsVersion); 150LoggingService.LogComment(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", toolsVersion); 182nodeLoggingContext.LoggingService.LogProjectStarted(args); 203ILoggingService loggingService = nodeLoggingContext.LoggingService; 273LoggingService.LogProjectFinished(BuildEventContext, _projectFullPath, success);
BackEnd\Components\Logging\TargetLoggingContext.cs (4)
45BuildEventContext buildEventContext = projectLoggingContext.LoggingService.LogTargetStarted( 93if (!LoggingService.OnlyLogCriticalEvents 94&& (LoggingService.EnableTargetOutputLogging || Traits.Instance.EnableTargetOutputLogging) 100LoggingService.LogTargetFinished(BuildEventContext, _target.Name, projectFullPath, _target.Location.File, success, targetOutputWrapper);
BackEnd\Components\Logging\TaskLoggingContext.cs (6)
49BuildEventContext buildEventContext = targetLoggingContext.LoggingService.LogTaskStarted2( 133LoggingService.LogTaskFinished( 151LoggingService.LogTaskWarningFromException(BuildEventContext, exception, file, taskName); 156return LoggingService.GetWarningsAsErrors(BuildEventContext); 161return LoggingService.GetWarningsNotAsErrors(BuildEventContext); 166return LoggingService.GetWarningsAsMessages(BuildEventContext);
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (1)
171_loggingContext.LoggingService.LogBuildEvent(buildArgs);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (2)
221if (LogTaskInputs && !LoggingContext.LoggingService.OnlyLogCriticalEvents && itemsToAdd?.Count > 0) 271if (LogTaskInputs && !LoggingContext.LoggingService.OnlyLogCriticalEvents && itemsToRemove.Count > 0)
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
99if (LogTaskInputs && !LoggingContext.LoggingService.OnlyLogCriticalEvents)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (6)
883_projectLoggingContext.ProjectTelemetry.LogProjectTelemetry(_projectLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext); 1119new CheckLoggingContext(_nodeLoggingContext.LoggingService, _requestEntry.Request.BuildEventContext), 1235new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext), 1367ILoggingService loggingService = _projectLoggingContext?.LoggingService; 1382new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext!.BuildEventContext), 1477ILoggingService loggingService = _projectLoggingContext?.LoggingService;
BackEnd\Components\RequestBuilder\TargetEntry.cs (3)
370if (projectLoggingContext.LoggingService.MinimumRequiredMessageImportance > MessageImportance.Low && 371!projectLoggingContext.LoggingService.OnlyLogCriticalEvents) 476TargetUpToDateChecker dependencyAnalyzer = new TargetUpToDateChecker(requestEntry.RequestConfiguration.Project, _target, targetLoggingContext.LoggingService, targetLoggingContext.BuildEventContext);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
622if (_targetLoggingContext.LoggingService.MinimumRequiredMessageImportance > MessageImportance.Low && 623!_targetLoggingContext.LoggingService.OnlyLogCriticalEvents)
BackEnd\Components\RequestBuilder\TaskHost.cs (8)
459_taskLoggingContext.LoggingService.LogBuildEvent(warningEvent); 462_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning"); 467_taskLoggingContext.LoggingService.LogBuildEvent(e); 511_taskLoggingContext.LoggingService.LogBuildEvent(e); 552_taskLoggingContext.LoggingService.LogBuildEvent(e); 593_taskLoggingContext.LoggingService.LogBuildEvent(e); 675_taskLoggingContext.LoggingService.LogTelemetry(_taskLoggingContext.BuildEventContext, eventName, properties); 937MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
383else if (loggingContext.LoggingService.MinimumRequiredMessageImportance >= MessageImportance.Low)
BackEnd\Node\InProcNode.cs (1)
361_loggingContext.LoggingService.OnLoggingThreadException -= OnLoggingThreadException;
BackEnd\Node\OutOfProcNode.cs (1)
525_loggingContext.LoggingService.OnLoggingThreadException -= OnLoggingThreadException;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (5)
1366if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1525if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && parameter.Log) 1571if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1619if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log) 1658if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents)
Evaluation\ConditionEvaluator.cs (1)
261conditionParser.LoggingServices = loggingContext?.LoggingService;
Evaluation\Evaluator.cs (1)
359if (evaluator._evaluationLoggingContext.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
Instance\TaskFactoryEngineContext.cs (4)
213_loggingContext.LoggingService.LogBuildEvent(e); 234_loggingContext.LoggingService.LogBuildEvent(e); 255_loggingContext.LoggingService.LogBuildEvent(e); 276_loggingContext.LoggingService.LogBuildEvent(e);