<PackageReference Include="Serilog.Formatting.Compact" Version="2.0.0-dev-00962" />

Serilog.Formatting.Compact.RenderedCompactJsonFormatter

public class RenderedCompactJsonFormatter : ITextFormatter
An ITextFormatter that writes events in a compact JSON format, for consumption in environments without message template support. Message templates are rendered into text and a hashed event id is included.
namespace Serilog.Formatting.Compact { public class RenderedCompactJsonFormatter { public RenderedCompactJsonFormatter(JsonValueFormatter valueFormatter = null); public void Format(LogEvent logEvent, TextWriter output); public static void FormatEvent(LogEvent logEvent, TextWriter output, JsonValueFormatter valueFormatter); } }