<PackageReference Include="Serilog.Sinks.MSSqlServer" Version="9.0.3-dev-00155" />

Serilog.LoggerConfigurationMSSqlServerExtensions

Adds the WriteTo.MSSqlServer() extension method to LoggerConfiguration.
public static LoggerConfiguration MSSqlServer(this LoggerSinkConfiguration loggerConfiguration, string connectionString, string tableName, IConfiguration appConfiguration = null, LogEventLevel restrictedToMinimumLevel = 0, int batchPostingLimit = 50, TimeSpan? period = default, IFormatProvider formatProvider = null, bool autoCreateSqlTable = false, ColumnOptions columnOptions = null, IConfigurationSection columnOptionsSection = null, string schemaName = "dbo", ITextFormatter logEventFormatter = null)

Adds a sink that writes log events to a table in a MSSqlServer database. Create a database and execute the table creation script found here https://gist.github.com/mivano/10429656 or use the autoCreateSqlTable option. Note: this is the legacy version of the extension method. Please use the new one using MSSqlServerSinkOptions instead.

public static LoggerConfiguration MSSqlServer(this LoggerSinkConfiguration loggerConfiguration, string connectionString, MSSqlServerSinkOptions sinkOptions = null, IConfigurationSection sinkOptionsSection = null, IConfiguration appConfiguration = null, LogEventLevel restrictedToMinimumLevel = 0, IFormatProvider formatProvider = null, ColumnOptions columnOptions = null, IConfigurationSection columnOptionsSection = null, ITextFormatter logEventFormatter = null)

Adds a sink that writes log events to a table in a MSSqlServer database. Create a database and execute the table creation script found here https://gist.github.com/mivano/10429656 or use the autoCreateSqlTable option.

public static LoggerConfiguration MSSqlServer(this LoggerAuditSinkConfiguration loggerAuditSinkConfiguration, string connectionString, string tableName, IConfiguration appConfiguration = null, LogEventLevel restrictedToMinimumLevel = 0, IFormatProvider formatProvider = null, bool autoCreateSqlTable = false, ColumnOptions columnOptions = null, IConfigurationSection columnOptionsSection = null, string schemaName = "dbo", ITextFormatter logEventFormatter = null)

Adds a sink that writes log events to a table in a MSSqlServer database. Note: this is the legacy version of the extension method. Please use the new one using MSSqlServerSinkOptions instead.

public static LoggerConfiguration MSSqlServer(this LoggerAuditSinkConfiguration loggerAuditSinkConfiguration, string connectionString, MSSqlServerSinkOptions sinkOptions = null, IConfigurationSection sinkOptionsSection = null, IConfiguration appConfiguration = null, LogEventLevel restrictedToMinimumLevel = 0, IFormatProvider formatProvider = null, ColumnOptions columnOptions = null, IConfigurationSection columnOptionsSection = null, ITextFormatter logEventFormatter = null)

Adds a sink that writes log events to a table in a MSSqlServer database.