1 write to _logger
Microsoft.CodeAnalysis.LanguageServer (1)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (1)
57
_logger
= loggerFactory.CreateLogger<FileBasedProgramsProjectSystem>();
7 references to _logger
Microsoft.CodeAnalysis.LanguageServer (7)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (7)
87
_logger
.LogDebug($"Detected enableFileBasedPrograms changed to '{value}'. Unloading loose file projects.");
243
_logger
.LogWarning("Could not get a document for '{documentFilePath}' because its project doesn't contain a document for it", documentFilePath);
281
_logger
.LogDebug("Classified '{documentPath}' as '{documentKind}'.", documentPath, documentKind);
287
_logger
.LogWarning("A document classified as {documentKind} should not be design-time built.", documentKind);
309
var content = await _projectXmlProvider.GetVirtualProjectContentAsync(documentPath,
_logger
, cancellationToken);
313
_logger
.LogInformation($"Failed to obtain virtual project for '{documentPath}' using dotnet run-api. Falling back to directly creating the virtual project.");
320
_logger
.LogError($"{diagnostic.Location.Path}{diagnostic.Location.Span.Start}: {diagnostic.Message}");