Serilog.Sinks.Splunk.SplunkJsonFormatter
Renders log events into a default JSON format for consumption by Splunk.
namespace Serilog.Sinks.Splunk
{
public class SplunkJsonFormatter
{
public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider);
public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider, string source, string sourceType, string host, string index, SubSecondPrecision subSecondPrecision = SubSecondPrecision.Milliseconds);
public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider, string source, string sourceType, string host, string index, CustomFields customFields, SubSecondPrecision subSecondPrecision = SubSecondPrecision.Milliseconds);
public void Format(LogEvent logEvent, TextWriter output);
}
}