1 write to _logger
dotnet (1)
Commands\New\MSBuildEvaluation\MSBuildEvaluator.cs (1)
56
_logger
= _settings.Host.LoggerFactory.CreateLogger(nameof(MSBuildEvaluator));
17 references to _logger
dotnet (17)
Commands\New\MSBuildEvaluation\MSBuildEvaluator.cs (17)
77
_logger
?.LogDebug("Output directory is: {0}.", _outputDirectory);
78
_logger
?.LogDebug("Project full path is: {0}.", _projectFullPath ?? "<null>");
87
_logger
?.LogDebug("Found project files: {0}.", string.Join("; ", foundFiles));
93
_logger
?.LogDebug("Exception occurred when searching for the project file: {0}", e.Message);
98
_logger
?.LogDebug("No project found.");
103
_logger
?.LogDebug("Multiple projects found.");
120
_logger
?.LogDebug("Evaluating project: {0}", projectPath);
125
_logger
?.LogDebug("SDK-style project: {0}", IsSdkStyleProject);
128
_logger
?.LogDebug("Target frameworks: {0}", string.Join("; ", targetFrameworks ?? []));
130
_logger
?.LogDebug("Target framework: {0}", targetFramework ?? "<null>");
136
_logger
?.LogDebug("Project is non-SDK style, cannot evaluate restore status, succeeding.");
143
_logger
?.LogDebug("Project is not restored, exiting.");
150
_logger
?.LogDebug("Project is SDK style, single TFM:{0}, evaluation succeeded.", targetFramework);
158
_logger
?.LogDebug("Project is SDK style, but does not specify the framework.");
166
_logger
?.LogDebug("Evaluating project for target framework: {0}", tfm);
169
_logger
?.LogDebug("Project is SDK style, multi-target, evaluation succeeded.");
175
_logger
?.LogDebug("Unexpected error: {0}", e);