Serilog.Formatting.Compact.CompactJsonFormatter
An ITextFormatter that writes events in a compact JSON format.
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.
Format the log event into the output. Subsequent events will be newline-delimited.