58 references to LoggingService
Microsoft.Build (58)
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)
107LoggingService.LogComment(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", projectStarted.ToolsVersion); 146LoggingService.LogComment(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", toolsVersion); 178nodeLoggingContext.LoggingService.LogProjectStarted(args); 199ILoggingService loggingService = nodeLoggingContext.LoggingService; 264LoggingService.LogProjectFinished(BuildEventContext, _projectFullPath, success);
BackEnd\Components\Logging\TargetLoggingContext.cs (3)
52BuildEventContext buildEventContext = projectLoggingContext.LoggingService.LogTargetStarted( 109if (!LoggingService.OnlyLogCriticalEvents && s_enableTargetOutputLogging && targetOutputs != null) 114LoggingService.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)
88if (LogTaskInputs && !LoggingContext.LoggingService.OnlyLogCriticalEvents)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (5)
1131new CheckLoggingContext(_nodeLoggingContext.LoggingService, _requestEntry.Request.BuildEventContext), 1226new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext), 1278ILoggingService loggingService = _projectLoggingContext?.LoggingService; 1293new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext!.BuildEventContext), 1388ILoggingService loggingService = _projectLoggingContext?.LoggingService;
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
375if (!projectLoggingContext.LoggingService.OnlyLogCriticalEvents) 481TargetUpToDateChecker dependencyAnalyzer = new TargetUpToDateChecker(requestEntry.RequestConfiguration.Project, _target, targetLoggingContext.LoggingService, targetLoggingContext.BuildEventContext);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
612if (!_targetLoggingContext.LoggingService.OnlyLogCriticalEvents)
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)
373else if (loggingContext.LoggingService.MinimumRequiredMessageImportance >= MessageImportance.Low)
BackEnd\Node\InProcNode.cs (1)
346_loggingContext.LoggingService.OnLoggingThreadException -= OnLoggingThreadException;
BackEnd\Node\OutOfProcNode.cs (1)
506_loggingContext.LoggingService.OnLoggingThreadException -= OnLoggingThreadException;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (5)
1300if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1431if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && parameter.Log) 1477if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1525if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log) 1564if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents)
Evaluation\ConditionEvaluator.cs (1)
259conditionParser.LoggingServices = loggingContext?.LoggingService;
Evaluation\Evaluator.cs (1)
346if (evaluator._evaluationLoggingContext.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
Instance\TaskFactoryLoggingHost.cs (4)
169_loggingContext.LoggingService.LogBuildEvent(e); 190_loggingContext.LoggingService.LogBuildEvent(e); 211_loggingContext.LoggingService.LogBuildEvent(e); 232_loggingContext.LoggingService.LogBuildEvent(e);