-
Notifications
You must be signed in to change notification settings - Fork 45
[v2] Providers
Matteo Gregoricchio edited this page Apr 23, 2024
·
1 revision
The provider uses Microsoft.Data.SqlClient and Dapper to query the database.
-
connectionString[required] -
tableName[required] -
schemaName[optional] (default isdbo) -
[from v2.2.3]
dateTimeCustomParsing: a delegate to customize the Dapper DateTime parse. Delegate signature isFunc<string, DateTime>. The return value of the signature must have DateTimeKind.UTC or the package will throw InvalidOperationException.
The provider uses Npgsql and Dapper to query the database.
-
[from v2.3.0]
sinkType[required] (the sink that used to store logs in the PostgreSQL database, Serilog.Sinks.Postgresql or Serilog.Sinks.Postgresql.Alternative) -
connectionString[required] -
tableName[required] -
schemaName[optional] (default ispublic)