1 write to _logger
Microsoft.CodeAnalysis.LanguageServer (1)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (1)
57
_logger
= loggerFactory.CreateLogger<FileBasedProgramsProjectSystem>();
6 references to _logger
Microsoft.CodeAnalysis.LanguageServer (6)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (6)
87
_logger
.LogDebug($"Detected enableFileBasedPrograms changed to '{value}'. Unloading loose file projects.");
242
_logger
.LogDebug("Classified '{documentPath}' as '{documentKind}'.", documentPath, documentKind);
248
_logger
.LogWarning("A document classified as {documentKind} should not be design-time built.", documentKind);
270
var content = await _projectXmlProvider.GetVirtualProjectContentAsync(documentPath,
_logger
, cancellationToken);
274
_logger
.LogInformation($"Failed to obtain virtual project for '{documentPath}' using dotnet run-api. Falling back to directly creating the virtual project.");
281
_logger
.LogError($"{diagnostic.Location.Path}{diagnostic.Location.Span.Start}: {diagnostic.Message}");