70 references to LoggingService
Microsoft.Build (70)
BackEnd\Components\Logging\BuildLoggingContext.cs (1)
63LoggingService.LogFatalTaskError(BuildEventContext, exception, file, taskName);
BackEnd\Components\Logging\EvaluationLoggingContext.cs (2)
32LoggingService.LogProjectEvaluationStarted(BuildEventContext, _projectFile); 45LoggingService.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 (2)
31LoggingService.LogBuildStarted(); 48LoggingService.LogBuildFinished(success);
BackEnd\Components\Logging\ProjectLoggingContext.cs (10)
95string[] propertiesToSerialize = LoggingService.PropertiesToSerialize; 98if (!LoggingService.OnlyLogCriticalEvents && 99!LoggingService.IncludeEvaluationPropertiesAndItems && 100(!LoggingService.RunningOnRemoteNode || LoggingService.SerializeAllProperties)) 119!LoggingService.IncludeEvaluationPropertiesAndItems && 121!LoggingService.SerializeAllProperties) 138this.BuildEventContext = LoggingService.LogProjectStarted( 153LoggingService.LogComment(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", toolsVersion); 166LoggingService.LogProjectFinished(BuildEventContext, _projectFullPath, success);
BackEnd\Components\Logging\TargetLoggingContext.cs (3)
45this.BuildEventContext = LoggingService.LogTargetStarted(projectLoggingContext.BuildEventContext, target.Name, projectFullPath, target.Location.File, parentTargetName, buildReason); 99if (!LoggingService.OnlyLogCriticalEvents && s_enableTargetOutputLogging && targetOutputs != null) 104LoggingService.LogTargetFinished(BuildEventContext, _target.Name, projectFullPath, _target.Location.File, success, targetOutputWrapper);
BackEnd\Components\Logging\TaskLoggingContext.cs (6)
69this.BuildEventContext = LoggingService.LogTaskStarted2( 129LoggingService.LogTaskFinished( 147LoggingService.LogTaskWarningFromException(BuildEventContext, exception, file, taskName); 152return LoggingService.GetWarningsAsErrors(BuildEventContext); 157return LoggingService.GetWarningsNotAsErrors(BuildEventContext); 162return LoggingService.GetWarningsAsMessages(BuildEventContext);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (6)
73LoggingContext.LoggingService, 180LoggingContext.LoggingService, 219LoggingContext.LoggingService, 223if (LogTaskInputs && !LoggingContext.LoggingService.OnlyLogCriticalEvents && itemsToAdd?.Count > 0) 267if (LogTaskInputs && !LoggingContext.LoggingService.OnlyLogCriticalEvents && itemsToRemove.Count > 0) 328LoggingContext.LoggingService,
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (2)
67LoggingContext.LoggingService, 83if (LogTaskInputs && !LoggingContext.LoggingService.OnlyLogCriticalEvents)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1364ILoggingService loggingService = _projectLoggingContext?.LoggingService;
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
354projectLoggingContext.LoggingService, 367if (!projectLoggingContext.LoggingService.OnlyLogCriticalEvents) 465TargetUpToDateChecker dependencyAnalyzer = new TargetUpToDateChecker(requestEntry.RequestConfiguration.Project, _target, targetLoggingContext.LoggingService, targetLoggingContext.BuildEventContext); 615projectLoggingContext.LoggingService, 707projectLoggingContext.LoggingService,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
382_targetLoggingContext.LoggingService, 614if (!_targetLoggingContext.LoggingService.OnlyLogCriticalEvents) 1083_targetLoggingContext.LoggingService,
BackEnd\Components\RequestBuilder\TaskHost.cs (8)
457_taskLoggingContext.LoggingService.LogBuildEvent(warningEvent); 460_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning"); 465_taskLoggingContext.LoggingService.LogBuildEvent(e); 509_taskLoggingContext.LoggingService.LogBuildEvent(e); 550_taskLoggingContext.LoggingService.LogBuildEvent(e); 591_taskLoggingContext.LoggingService.LogBuildEvent(e); 673_taskLoggingContext.LoggingService.LogTelemetry(_taskLoggingContext.BuildEventContext, eventName, properties); 935MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low;
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
417else if (loggingContext.LoggingService.MinimumRequiredMessageImportance >= MessageImportance.Low)
BackEnd\Node\InProcNode.cs (1)
346_loggingContext.LoggingService.OnLoggingThreadException -= OnLoggingThreadException;
BackEnd\Node\OutOfProcNode.cs (1)
503_loggingContext.LoggingService.OnLoggingThreadException -= OnLoggingThreadException;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (5)
1300if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1427if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && parameter.Log) 1471if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1503if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log) 1540if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents)
Evaluation\Evaluator.cs (4)
716_evaluationLoggingContext.LoggingService, 812if (this._evaluationLoggingContext.LoggingService.IncludeEvaluationPropertiesAndItems) 2462_evaluationLoggingContext.LoggingService, 2501_evaluationLoggingContext.LoggingService,
Evaluation\LazyItemEvaluator.cs (1)
93lazyEvaluator._loggingContext.LoggingService,
Instance\TaskFactoryLoggingHost.cs (4)
169_loggingContext.LoggingService.LogBuildEvent(e); 190_loggingContext.LoggingService.LogBuildEvent(e); 211_loggingContext.LoggingService.LogBuildEvent(e); 232_loggingContext.LoggingService.LogBuildEvent(e);
Instance\TaskRegistry.cs (2)
550TaskRegistry toolsetRegistry = _toolset.GetOverrideTaskRegistry(targetLoggingContext.LoggingService, targetLoggingContext.BuildEventContext, RootElementCache); 609TaskRegistry toolsetRegistry = _toolset.GetTaskRegistry(targetLoggingContext.LoggingService, targetLoggingContext.BuildEventContext, RootElementCache);