1 write to _logger
dotnet (1)
Commands\New\MSBuildEvaluation\ProjectCapabilityConstraint.cs (1)
54
_logger
= _environmentSettings.Host.LoggerFactory.CreateLogger(nameof(MSBuildEvaluator));
13 references to _logger
dotnet (13)
Commands\New\MSBuildEvaluation\ProjectCapabilityConstraint.cs (13)
71
_logger
.LogDebug("Configuration: '{0}'", args);
79
_logger
.LogDebug("Failed to parse configuration: '{0}', reason: {1}", args, e.Message);
90
_logger
.LogDebug("Invalid configuration: '{0}', reason: arguments should not contain empty values.", args);
97
_logger
.LogDebug("Invalid configuration: '{0}', reason: argument should be a string.", args);
103
_logger
.LogDebug("No project found. This template can only be created inside the project.");
112
_logger
.LogDebug("Multiple projects found: {0}, specify the project to use.", foundProjects);
120
_logger
.LogDebug("The project is not restored. Run 'dotnet restore {0}' to restore the project.", _evaluationResult.ProjectPath);
128
_logger
.LogDebug("Failed to evaluate project context: {0}", _evaluationResult.ErrorMessage);
133
_logger
.LogDebug("The project {0} is not an SDK style project, and is not supported for evaluation.", _evaluationResult.ProjectPath);
139
_logger
.LogDebug("Evaluating '{0}' on '{1}' set.", configuredCapabiltiesExpression, string.Join(", ", _projectCapabilities));
142
_logger
.LogDebug("Expression evaluated to 'false'.");
147
_logger
.LogDebug("Expression evaluated to 'true'.");
152
_logger
.LogDebug("Invalid expression '{0}'.", configuredCapabiltiesExpression);