2 implementations of LogSourceText
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
Formatting\TestFormattingLoggerFactory.cs (1)
42public void LogSourceText(string name, SourceText sourceText)
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Formatting\FormattingLogger.cs (1)
21public void LogSourceText(string name, SourceText sourceText)
21 references to LogSourceText
Microsoft.CodeAnalysis.Razor.Workspaces (21)
Formatting\Passes\CSharpFormattingPass.cs (3)
46context.Logger?.LogSourceText("FormattingDocument", generatedCSharpText); 49context.Logger?.LogSourceText("FormattedFormattingDocument", formattedCSharpText); 106context.Logger?.LogSourceText("FinalFormattedDocument", changedText);
Formatting\Passes\CSharpOnTypeFormattingPass.cs (6)
102context.Logger?.LogSourceText("OriginalCSharp", csharpText); 106context.Logger?.LogSourceText("FormattedCSharp", originalTextWithChanges); 122context.Logger?.LogSourceText("OriginalRazor", originalText); 128context.Logger?.LogSourceText("AfterCSharpChanges", formattedText); 142context.Logger?.LogSourceText("AfterCleanupDocument", cleanedText); 199context.Logger?.LogSourceText("AfterAdjustIndentationAsync", cleanedText);
Formatting\Passes\HtmlFormattingPass.cs (5)
35context.Logger?.LogSourceText("HtmlSourceText", context.CodeDocument.GetHtmlSourceText(cancellationToken)); 81context.Logger?.LogSourceText("AfterHtmlFormatter", changedText); 98context.Logger?.LogSourceText("UnfilteredFormattedHtmlSourceText", formattedText); 115context.Logger?.LogSourceText("FormattedHtmlSourceText", formattedText); 129context.Logger?.LogSourceText("FinalHtmlFormattedDocument", changedText);
Formatting\Passes\HtmlOnTypeFormattingPass.cs (3)
34context.Logger?.LogSourceText("BeforeHtmlFormatter", changedText); 44context.Logger?.LogSourceText("AfterNormalizedEdits", changedText); 52context.Logger?.LogSourceText("AfterAdjustRazorIndentation", changedText);
Formatting\Passes\RazorFormattingPass.cs (1)
49changedContext.Logger?.LogSourceText("AfterRazorFormatter", changedText);
Formatting\RazorFormattingService.cs (3)
100logger?.LogSourceText("InitialDocument", sourceText); 295logger?.LogSourceText("InitialDocument", codeDocument.Source.Text); 392logger.LogSourceText("SyntaxTree", SourceText.From(serializedSyntaxTree));