Fix log name

This commit is contained in:
Matt Parker
2025-12-15 21:57:17 +10:00
parent 89030052e0
commit 53014205bc

View File

@@ -416,7 +416,7 @@ public partial class RoslynAnalysis(ILogger<RoslynAnalysis> logger, BuildService
public async Task<ImmutableArray<SharpIdeDiagnostic>> GetDocumentAnalyzerDiagnostics(SharpIdeFile fileModel, CancellationToken cancellationToken = default)
{
if (fileModel.IsRoslynWorkspaceFile is false) return [];
using var _ = SharpIdeOtel.Source.StartActivity($"{nameof(RoslynAnalysis)}.{nameof(GetDocumentDiagnostics)}");
using var _ = SharpIdeOtel.Source.StartActivity($"{nameof(RoslynAnalysis)}.{nameof(GetDocumentAnalyzerDiagnostics)}");
await _solutionLoadedTcs.Task;
var document = await GetDocumentForSharpIdeFile(fileModel, cancellationToken);