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