<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.1-dev-00940" />

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.
public RenderedCompactJsonFormatter(JsonValueFormatter valueFormatter = null)

Construct a CompactJsonFormatter, optionally supplying a formatter for LogEventPropertyValues on the event.

public static void FormatEvent(LogEvent logEvent, TextWriter output, JsonValueFormatter valueFormatter)

Format the log event into the output.

public void Format(LogEvent logEvent, TextWriter output)

Format the log event into the output. Subsequent events will be newline-delimited.