Serilog.LoggerConfigurationMSSqlServerExtensions
Adds the WriteTo.MSSqlServer() extension method to LoggerConfiguration.
namespace Serilog
{
public static class LoggerConfigurationMSSqlServerExtensions
{
public static LoggerConfiguration MSSqlServer(this LoggerSinkConfiguration loggerConfiguration, string connectionString, string tableName, IConfiguration appConfiguration = null, LogEventLevel restrictedToMinimumLevel = 0, int batchPostingLimit = 50, TimeSpan? period = default(TimeSpan?), IFormatProvider formatProvider = null, bool autoCreateSqlTable = false, ColumnOptions columnOptions = null, IConfigurationSection columnOptionsSection = null, string schemaName = "dbo", ITextFormatter logEventFormatter = null);
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);
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);
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);
}
}