Serilog.SeqLoggerConfigurationExtensions
Extends Serilog configuration to write events to Seq.
public static LoggerConfiguration Seq(this LoggerSinkConfiguration loggerSinkConfiguration, string serverUrl, LogEventLevel restrictedToMinimumLevel = 0, int batchPostingLimit = 1000, TimeSpan? period = default, string apiKey = null, string bufferBaseFilename = null, long? bufferSizeLimitBytes = default, long? eventBodyLimitBytes = 262144, LoggingLevelSwitch controlLevelSwitch = null, HttpMessageHandler messageHandler = null, long? retainedInvalidPayloadsLimitBytes = default, int queueSizeLimit = 100000, ITextFormatter payloadFormatter = null, IFormatProvider formatProvider = null)
Write log events to a Seq server.
public static LoggerConfiguration Seq(this LoggerAuditSinkConfiguration loggerAuditSinkConfiguration, string serverUrl, LogEventLevel restrictedToMinimumLevel = 0, string apiKey = null, HttpMessageHandler messageHandler = null, ITextFormatter payloadFormatter = null, IFormatProvider formatProvider = null)
Write audit log events to a Seq server. Auditing writes are
synchronous and non-batched; any failures will propagate to the caller immediately as exceptions.