58 references to LoggingService
Microsoft.Build (58)
BackEnd\Components\Logging\BuildLoggingContext.cs (1)
63
LoggingService
.LogFatalTaskError(BuildEventContext, exception, file, taskName);
BackEnd\Components\Logging\EvaluationLoggingContext.cs (4)
33
LoggingService
.LogProjectEvaluationStarted(BuildEventContext, _projectFile);
34
LoggingService
.BuildEngineDataRouter.ProcessProjectEvaluationStarted(
35
new CheckLoggingContext(
LoggingService
, BuildEventContext), _projectFile);
48
LoggingService
.LogProjectEvaluationFinished(BuildEventContext, _projectFile, globalProperties, properties, items, profilerResult);
BackEnd\Components\Logging\LoggingContext.cs (2)
291
LoggingService
.LogBuildEvent(buildEvent);
302
LoggingService
.LogFatalBuildError(BuildEventContext, exception, file);
BackEnd\Components\Logging\NodeLoggingContext.cs (3)
31
LoggingService
.LogBuildStarted();
48
LoggingService
.LogBuildFinished(success);
62
LoggingService
.LogProjectStarted(arg);
BackEnd\Components\Logging\ProjectLoggingContext.cs (5)
107
LoggingService
.LogComment(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", projectStarted.ToolsVersion);
146
LoggingService
.LogComment(this.BuildEventContext, MessageImportance.Low, "ToolsVersionInEffectForBuild", toolsVersion);
178
nodeLoggingContext.
LoggingService
.LogProjectStarted(args);
199
ILoggingService loggingService = nodeLoggingContext.
LoggingService
;
264
LoggingService
.LogProjectFinished(BuildEventContext, _projectFullPath, success);
BackEnd\Components\Logging\TargetLoggingContext.cs (3)
52
BuildEventContext buildEventContext = projectLoggingContext.
LoggingService
.LogTargetStarted(
109
if (!
LoggingService
.OnlyLogCriticalEvents && s_enableTargetOutputLogging && targetOutputs != null)
114
LoggingService
.LogTargetFinished(BuildEventContext, _target.Name, projectFullPath, _target.Location.File, success, targetOutputWrapper);
BackEnd\Components\Logging\TaskLoggingContext.cs (6)
49
BuildEventContext buildEventContext = targetLoggingContext.
LoggingService
.LogTaskStarted2(
133
LoggingService
.LogTaskFinished(
151
LoggingService
.LogTaskWarningFromException(BuildEventContext, exception, file, taskName);
156
return
LoggingService
.GetWarningsAsErrors(BuildEventContext);
161
return
LoggingService
.GetWarningsNotAsErrors(BuildEventContext);
166
return
LoggingService
.GetWarningsAsMessages(BuildEventContext);
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (1)
171
_loggingContext.
LoggingService
.LogBuildEvent(buildArgs);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (2)
221
if (LogTaskInputs && !LoggingContext.
LoggingService
.OnlyLogCriticalEvents && itemsToAdd?.Count > 0)
271
if (LogTaskInputs && !LoggingContext.
LoggingService
.OnlyLogCriticalEvents && itemsToRemove.Count > 0)
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
88
if (LogTaskInputs && !LoggingContext.
LoggingService
.OnlyLogCriticalEvents)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (5)
1131
new CheckLoggingContext(_nodeLoggingContext.
LoggingService
, _requestEntry.Request.BuildEventContext),
1226
new CheckLoggingContext(_nodeLoggingContext.
LoggingService
, _projectLoggingContext.BuildEventContext),
1278
ILoggingService loggingService = _projectLoggingContext?.
LoggingService
;
1293
new CheckLoggingContext(_nodeLoggingContext.
LoggingService
, _projectLoggingContext!.BuildEventContext),
1388
ILoggingService loggingService = _projectLoggingContext?.
LoggingService
;
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
375
if (!projectLoggingContext.
LoggingService
.OnlyLogCriticalEvents)
481
TargetUpToDateChecker dependencyAnalyzer = new TargetUpToDateChecker(requestEntry.RequestConfiguration.Project, _target, targetLoggingContext.
LoggingService
, targetLoggingContext.BuildEventContext);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
612
if (!_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);
935
MessageImportance minimumImportance = _taskHost._taskLoggingContext?.
LoggingService
.MinimumRequiredMessageImportance ?? MessageImportance.Low;
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
372
else 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)
1300
if (LogTaskInputs && !_taskLoggingContext.
LoggingService
.OnlyLogCriticalEvents)
1431
if (hasElements && LogTaskInputs && !_taskLoggingContext.
LoggingService
.OnlyLogCriticalEvents && parameter.Log)
1477
if (LogTaskInputs && !_taskLoggingContext.
LoggingService
.OnlyLogCriticalEvents)
1525
if (LogTaskInputs && !_taskLoggingContext.
LoggingService
.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log)
1564
if (LogTaskInputs && !_taskLoggingContext.
LoggingService
.OnlyLogCriticalEvents)
Evaluation\ConditionEvaluator.cs (1)
259
conditionParser.LoggingServices = loggingContext?.
LoggingService
;
Evaluation\Evaluator.cs (1)
346
if (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);