1 write to _logger
dotnet (1)
Commands\New\MSBuildEvaluation\ProjectCapabilityConstraint.cs (1)
55
_logger
= _environmentSettings.Host.LoggerFactory.CreateLogger(nameof(MSBuildEvaluator));
13 references to _logger
dotnet (13)
Commands\New\MSBuildEvaluation\ProjectCapabilityConstraint.cs (13)
72
_logger
.LogDebug("Configuration: '{0}'", args);
80
_logger
.LogDebug("Failed to parse configuration: '{0}', reason: {1}", args, e.Message);
91
_logger
.LogDebug("Invalid configuration: '{0}', reason: arguments should not contain empty values.", args);
98
_logger
.LogDebug("Invalid configuration: '{0}', reason: argument should be a string.", args);
104
_logger
.LogDebug("No project found. This template can only be created inside the project.");
113
_logger
.LogDebug("Multiple projects found: {0}, specify the project to use.", foundProjects);
121
_logger
.LogDebug("The project is not restored. Run 'dotnet restore {0}' to restore the project.", _evaluationResult.ProjectPath);
129
_logger
.LogDebug("Failed to evaluate project context: {0}", _evaluationResult.ErrorMessage);
134
_logger
.LogDebug("The project {0} is not an SDK style project, and is not supported for evaluation.", _evaluationResult.ProjectPath);
140
_logger
.LogDebug("Evaluating '{0}' on '{1}' set.", configuredCapabiltiesExpression, string.Join(", ", _projectCapabilities));
143
_logger
.LogDebug("Expression evaluated to 'false'.");
148
_logger
.LogDebug("Expression evaluated to 'true'.");
153
_logger
.LogDebug("Invalid expression '{0}'.", configuredCapabiltiesExpression);