serilog-sinks-postgresql:写入PostgreSQLserilog接收器

时间:2024-05-28 22:33:44
【文件属性】:

文件名称:serilog-sinks-postgresql:写入PostgreSQLserilog接收器

文件大小:36KB

文件格式:ZIP

更新时间:2024-05-28 22:33:44

C#

Serilog.Sinks.PostgreSQL 写入PostgreSQL器 包 | 平台-.NET 4.5,.NET Standard 2.0 代码 string connectionstring = " User ID=serilog;Password=serilog;Host=localhost;Port=5432;Database=logs " ; string tableName = " logs " ; // Used columns (Key is a column name) // Column type is writer's constructor parameter IDictionary < string> columnWriters = new Dictionary < string , ColumnWriterBase


【文件预览】:
serilog-sinks-postgresql-master
----Serilog.Sinks.PostgreSQL.Configuration()
--------ConfigurationReader.cs(6KB)
--------Serilog.Sinks.PostgreSQL.Configuration.csproj(447B)
--------LoggerConfigurationPostgreSQLConfigExtensions.cs(4KB)
----Serilog.Sinks.PostgreSQL()
--------Sinks()
--------Serilog.Sinks.PostgreSQL.csproj(2KB)
--------LoggerConfigurationPostgreSQLExtensions.cs(4KB)
----LICENSE(11KB)
----Serilog.Sinks.PostgreSQL.Configuration.IntegrationTests()
--------Serilog.Sinks.PostgreSQL.Configuration.IntegrationTests.csproj(944B)
--------AlwaysTrueColumnWriter.cs(455B)
--------Support()
--------ConfigurationSettingsDbWriteTests.cs(8KB)
----Serilog.Sinks.PostgreSQL.sln(3KB)
----.gitignore(4KB)
----Serilog.Sinks.PostgreSQL.IntegrationTests()
--------DbWriteWithSchemaTests.cs(6KB)
--------Objects()
--------DbHelper.cs(3KB)
--------Serilog.Sinks.PostgreSQL.IntegrationTests.csproj(810B)
--------DbWriteTests.cs(11KB)
----README.md(6KB)
----.gitattributes(2KB)
----Serilog.Sinks.PostgreSQL.Tests()
--------ColumnWritersTests()
--------Serilog.Sinks.PostgreSQL.Tests.csproj(662B)

网友评论