1 write to _logger
dotnet (1)
Commands\New\MSBuildEvaluation\MSBuildEvaluator.cs (1)
55
_logger
= _settings.Host.LoggerFactory.CreateLogger(nameof(MSBuildEvaluator));
17 references to _logger
dotnet (17)
Commands\New\MSBuildEvaluation\MSBuildEvaluator.cs (17)
76
_logger
?.LogDebug("Output directory is: {0}.", _outputDirectory);
77
_logger
?.LogDebug("Project full path is: {0}.", _projectFullPath ?? "<null>");
86
_logger
?.LogDebug("Found project files: {0}.", string.Join("; ", foundFiles));
92
_logger
?.LogDebug("Exception occurred when searching for the project file: {0}", e.Message);
97
_logger
?.LogDebug("No project found.");
102
_logger
?.LogDebug("Multiple projects found.");
122
_logger
?.LogDebug("Evaluating project: {0}", projectPath);
127
_logger
?.LogDebug("SDK-style project: {0}", IsSdkStyleProject);
130
_logger
?.LogDebug("Target frameworks: {0}", string.Join("; ", targetFrameworks ?? []));
132
_logger
?.LogDebug("Target framework: {0}", targetFramework ?? "<null>");
138
_logger
?.LogDebug("Project is non-SDK style, cannot evaluate restore status, succeeding.");
145
_logger
?.LogDebug("Project is not restored, exiting.");
152
_logger
?.LogDebug("Project is SDK style, single TFM:{0}, evaluation succeeded.", targetFramework);
160
_logger
?.LogDebug("Project is SDK style, but does not specify the framework.");
169
_logger
?.LogDebug("Evaluating project for target framework: {0}", tfm);
173
_logger
?.LogDebug("Project is SDK style, multi-target, evaluation succeeded.");
179
_logger
?.LogDebug("Unexpected error: {0}", e);