85 references to LogDebug
Microsoft.CodeAnalysis.Razor.Workspaces (8)
CodeActions\CodeActionResolveService.cs (1)
41
_logger.
LogDebug
($"Resolving workspace edit for action {codeActionId}.");
Diagnostics\RazorTranslateDiagnosticsService.cs (1)
68
_logger.
LogDebug
($"{filteredDiagnostics.Length}/{diagnostics.Length} diagnostics remain after filtering {diagnosticKind}.");
GoToDefinition\AbstractDefinitionService.cs (3)
111
_logger.
LogDebug
($"Attempting to get definition from string literal at position {position}.");
128
_logger.
LogDebug
($"Found string literal: {literalText}");
133
_logger.
LogDebug
($"Resolved file path: {resolvedPath}");
SemanticTokens\AbstractRazorSemanticTokensInfoService.cs (3)
53
_logger.
LogDebug
($"Returned {amount} semantic tokens for span {span} in {documentContext.Uri}.");
100
_logger.
LogDebug
($"Couldn't get C# tokens for version {documentContext.Snapshot.Version} of {documentContext.Uri}. Returning null");
132
_logger.
LogDebug
($"Requesting C# semantic tokens for host version {documentContext.Snapshot.Version}, correlation ID {correlationId}, and the server thinks there are {codeDocument.GetCSharpSourceText().Lines.Count} lines of C#");
Microsoft.CodeAnalysis.Remote.Razor (1)
Rename\RemoteRenameService.cs (1)
136
Logger.
LogDebug
($"Rename for Razor document from {oldDoc.FilePath} to {newFileName}.");
Microsoft.VisualStudio.LanguageServices.Razor (40)
LanguageClient\Cohost\HtmlDocumentPublisher.cs (3)
37
_logger.
LogDebug
($"No {(documentSnapshot is null ? "" : "virtual")} document snapshot for {document.FilePath}.");
46
_logger.
LogDebug
($"The html document for {document.FilePath} is {htmlDocument.Uri}");
64
_logger.
LogDebug
($"Finished Html document generation for {document.FilePath} (into {htmlDocument.Uri})");
LanguageClient\Cohost\HtmlRequestInvoker.cs (2)
39
_logger.
LogDebug
($"Couldn't synchronize for {razorDocument.FilePath}");
68
_logger.
LogDebug
($"Making LSP request for {method} from {htmlDocument.Uri}{(request is ITextDocumentPositionParams positionParams ? $" at {positionParams.Position}" : "")}, checksum {syncResult.Checksum}.");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionEndpoint.cs (3)
104
_logger.
LogDebug
($"Invoking completion for {razorDocument.FilePath}");
137
_logger.
LogDebug
($"Calling OOP to get completion items at {request.Position} invoked by typing '{request.Context?.TriggerCharacter}'");
172
_logger.
LogDebug
($"HTML completion failed for {razorDocument.FilePath}, returning incomplete list");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionResolveEndpoint.cs (1)
148
_logger.
LogDebug
($"Resolving Html completion item {request.Label} for {razorDocument.FilePath}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Diagnostics\CohostDocumentPullDiagnosticsEndpointBase.cs (4)
62
_logger.
LogDebug
($"Getting diagnostics for {razorDocument.FilePath}");
87
_logger.
LogDebug
($"Calling OOP with the {csharpDiagnostics.Length} C# and {htmlDiagnostics.Length} Html diagnostics");
98
_logger.
LogDebug
($"Reporting {diagnostics.Length} diagnostics back to the client");
115
_logger.
LogDebug
($"Getting C# diagnostics for {generatedDocument.FilePath}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\FoldingRange\CohostFoldingRangeEndpoint.cs (3)
64
_logger.
LogDebug
($"Getting folding ranges for {razorDocument.FilePath}");
75
_logger.
LogDebug
($"Calling OOP with the {htmlRanges.Length} html ranges, so it can fill in the rest");
83
_logger.
LogDebug
($"Got a total of {allRanges.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostDocumentFormattingEndpoint.cs (3)
71
_logger.
LogDebug
($"Getting Html formatting changes for {razorDocument.FilePath}");
90
_logger.
LogDebug
($"Calling OOP with the {htmlChanges.Length} html edits, so it can fill in the rest");
101
_logger.
LogDebug
($"Got a total of {remoteResult.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostOnTypeFormattingEndpoint.cs (3)
101
_logger.
LogDebug
($"Getting Html formatting changes for {razorDocument.FilePath}");
117
_logger.
LogDebug
($"Calling OOP with the {htmlChanges.Length} html edits, so it can fill in the rest");
128
_logger.
LogDebug
($"Got a total of {remoteResult.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostRangeFormattingEndpoint.cs (3)
74
_logger.
LogDebug
($"Getting Html formatting changes for {razorDocument.FilePath}");
95
_logger.
LogDebug
($"Calling OOP with the {htmlChanges.Length} html edits, so it can fill in the rest");
106
_logger.
LogDebug
($"Got a total of {remoteResult.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\HtmlDocumentServices\HtmlDocumentSynchronizer.cs (11)
42
_logger.
LogDebug
($"Document {razorFileUri} removed, so we're disposing and clearing out the sync request for it");
52
_logger.
LogDebug
($"TrySynchronize for {document.FilePath} as at {requestedVersion}");
77
_logger.
LogDebug
($"Not synchronizing Html text for {document.FilePath} as the request was cancelled.");
99
_logger.
LogDebug
($"Already finished that version for {document.FilePath}, but was unsuccessful, so will recompute");
104
_logger.
LogDebug
($"Already {(request.Task.IsCompleted ? "finished" : "working on")} that version for {document.FilePath}");
117
_logger.
LogDebug
($"We've already seen {request.RequestedVersion} for {document.FilePath} so that's a no from me");
123
_logger.
LogDebug
($"We were working on {request.RequestedVersion} for {document.FilePath} but you're newer so we're giving up on that");
128
_logger.
LogDebug
($"Going to start working on Html for {document.FilePath} as at {requestedVersion}");
153
_logger.
LogDebug
($"Not publishing Html text for {document.FilePath} as the request was cancelled.");
171
_logger.
LogDebug
($"Not publishing Html text for {document.FilePath} as the request was cancelled.");
179
_logger.
LogDebug
($"Not publishing Html text for {document.FilePath} as the request was cancelled.");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\OnAutoInsert\CohostOnAutoInsertEndpoint.cs (3)
90
_logger.
LogDebug
($"Resolving auto-insertion for {razorDocument.FilePath}");
95
_logger.
LogDebug
($"Calling OOP to resolve insertion at {request.Position} invoked by typing '{request.Character}'");
110
_logger.
LogDebug
($"Got insert text edit from OOP {remoteInsertTextEdit}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Rename\WorkspaceWillRenameEndpoint.cs (1)
41
_logger.
LogDebug
($"Got a didRenameFiles notification with {request.Files.Length} renames.");
Microsoft.VisualStudioCode.RazorExtension (36)
Services\HtmlRequestInvoker.cs (1)
39
_logger.
LogDebug
($"Making Html request for {method} on {razorDocument.FilePath}, checksum {checksumString}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionEndpoint.cs (3)
104
_logger.
LogDebug
($"Invoking completion for {razorDocument.FilePath}");
137
_logger.
LogDebug
($"Calling OOP to get completion items at {request.Position} invoked by typing '{request.Context?.TriggerCharacter}'");
172
_logger.
LogDebug
($"HTML completion failed for {razorDocument.FilePath}, returning incomplete list");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionResolveEndpoint.cs (1)
148
_logger.
LogDebug
($"Resolving Html completion item {request.Label} for {razorDocument.FilePath}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Diagnostics\CohostDocumentPullDiagnosticsEndpointBase.cs (4)
62
_logger.
LogDebug
($"Getting diagnostics for {razorDocument.FilePath}");
87
_logger.
LogDebug
($"Calling OOP with the {csharpDiagnostics.Length} C# and {htmlDiagnostics.Length} Html diagnostics");
98
_logger.
LogDebug
($"Reporting {diagnostics.Length} diagnostics back to the client");
115
_logger.
LogDebug
($"Getting C# diagnostics for {generatedDocument.FilePath}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\FoldingRange\CohostFoldingRangeEndpoint.cs (3)
64
_logger.
LogDebug
($"Getting folding ranges for {razorDocument.FilePath}");
75
_logger.
LogDebug
($"Calling OOP with the {htmlRanges.Length} html ranges, so it can fill in the rest");
83
_logger.
LogDebug
($"Got a total of {allRanges.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostDocumentFormattingEndpoint.cs (3)
71
_logger.
LogDebug
($"Getting Html formatting changes for {razorDocument.FilePath}");
90
_logger.
LogDebug
($"Calling OOP with the {htmlChanges.Length} html edits, so it can fill in the rest");
101
_logger.
LogDebug
($"Got a total of {remoteResult.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostOnTypeFormattingEndpoint.cs (3)
101
_logger.
LogDebug
($"Getting Html formatting changes for {razorDocument.FilePath}");
117
_logger.
LogDebug
($"Calling OOP with the {htmlChanges.Length} html edits, so it can fill in the rest");
128
_logger.
LogDebug
($"Got a total of {remoteResult.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostRangeFormattingEndpoint.cs (3)
74
_logger.
LogDebug
($"Getting Html formatting changes for {razorDocument.FilePath}");
95
_logger.
LogDebug
($"Calling OOP with the {htmlChanges.Length} html edits, so it can fill in the rest");
106
_logger.
LogDebug
($"Got a total of {remoteResult.Length} ranges back from OOP");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\HtmlDocumentServices\HtmlDocumentSynchronizer.cs (11)
42
_logger.
LogDebug
($"Document {razorFileUri} removed, so we're disposing and clearing out the sync request for it");
52
_logger.
LogDebug
($"TrySynchronize for {document.FilePath} as at {requestedVersion}");
77
_logger.
LogDebug
($"Not synchronizing Html text for {document.FilePath} as the request was cancelled.");
99
_logger.
LogDebug
($"Already finished that version for {document.FilePath}, but was unsuccessful, so will recompute");
104
_logger.
LogDebug
($"Already {(request.Task.IsCompleted ? "finished" : "working on")} that version for {document.FilePath}");
117
_logger.
LogDebug
($"We've already seen {request.RequestedVersion} for {document.FilePath} so that's a no from me");
123
_logger.
LogDebug
($"We were working on {request.RequestedVersion} for {document.FilePath} but you're newer so we're giving up on that");
128
_logger.
LogDebug
($"Going to start working on Html for {document.FilePath} as at {requestedVersion}");
153
_logger.
LogDebug
($"Not publishing Html text for {document.FilePath} as the request was cancelled.");
171
_logger.
LogDebug
($"Not publishing Html text for {document.FilePath} as the request was cancelled.");
179
_logger.
LogDebug
($"Not publishing Html text for {document.FilePath} as the request was cancelled.");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\OnAutoInsert\CohostOnAutoInsertEndpoint.cs (3)
90
_logger.
LogDebug
($"Resolving auto-insertion for {razorDocument.FilePath}");
95
_logger.
LogDebug
($"Calling OOP to resolve insertion at {request.Position} invoked by typing '{request.Character}'");
110
_logger.
LogDebug
($"Got insert text edit from OOP {remoteInsertTextEdit}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Rename\WorkspaceWillRenameEndpoint.cs (1)
41
_logger.
LogDebug
($"Got a didRenameFiles notification with {request.Files.Length} renames.");