2 implementations of LogObject
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
Formatting\TestFormattingLoggerFactory.cs (1)
35public void LogObject<T>(string name, T value)
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Formatting\FormattingLogger.cs (1)
16public void LogObject<T>(string name, T value)
13 references to LogObject
Microsoft.CodeAnalysis.Razor.Workspaces (13)
Formatting\Passes\CSharpFormattingPass.cs (3)
36context.Logger?.LogObject("SourceMappings", changedContext.CodeDocument.GetRequiredCSharpDocument().SourceMappingsSortedByGenerated); 47context.Logger?.LogObject("FormattingDocumentLineInfo", generatedDocument.LineInfo); 104context.Logger?.LogObject("FinalFormattingChanges", finalFormattingChanges);
Formatting\Passes\HtmlFormattingPass.cs (2)
120context.Logger?.LogObject("HtmlFormattingLineInfo", lineInfo); 127context.Logger?.LogObject("FinalHtmlFormattingChanges", finalFormattingChanges);
Formatting\RazorFormattingService.cs (8)
96logger?.LogObject("FileKind", documentContext.Snapshot.FileKind); 97logger?.LogObject("Options", options); 98logger?.LogObject("HtmlChanges", htmlChanges.SelectAsArray(e => e.ToRazorTextChange())); 99logger?.LogObject("Range", range); 291logger?.LogObject("FileKind", documentSnapshot.FileKind); 292logger?.LogObject("Options", options); 293logger?.LogObject("Parameters", new { hostDocumentIndex, triggerCharacter, collapseChanges, includeCSharpLanguageFeatureEdits, validate }); 294logger?.LogObject("GeneratedDocumentChanges", generatedDocumentChanges);