{"repo":"serilog-mssql/serilog-sinks-mssqlserver","free":true,"listed":false,"github":"https://github.com/serilog-mssql/serilog-sinks-mssqlserver","clone":"git clone https://github.com/serilog-mssql/serilog-sinks-mssqlserver.git","description":"A Serilog sink that writes events to Microsoft SQL Server and Azure SQL","language":"C#","stars":301,"topics":["serilog","mssqlserver","serilog-sink","sql-server","logging","azure","azure-sql"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Serilog.Sinks.MSSqlServer A Serilog sink that writes events to Microsoft SQL Server. This sink will write the log event data to a table and can optionally also store the properties inside an XML or JSON column so they can be queried. Important properties can also be written to their own separate columns. Package - Serilog.Sinks.MSSqlServer Minimum Platforms - .NET Framework 4.6.2, .NET 8.0, .NET Standard 2.0 Topics Quick Start Sink Configuration Audit Sink Configuration Table Definition MSSqlServerSinkOptions Object ColumnOptions Object SqlColumn Objects Standard Columns Custom Property Columns External Configuration Syntax Troubleshooting Querying Property Data Breaking Changes Deprecated Features Quick Start The most basic minimalistic sink initialization is done like this. Sample Programs There is a set of small and simple sample programs provided with the source code in the sample directory. They demonstrate different ways to initialize the sink by code and configuration for different target frameworks. Sink Configuration The sink can be configured completely through code, by using configuration files (or other types of configuration providers), a combination of both, or by using the various Serilog configuration packages. There are two configuration considerations: configuring the sink itself, and configuring the table used by the sink. The sink is configured with a typical Serilog WriteTo configuration method (or AuditTo , or similar variations). Settings for the sink a","default_branch":null,"files":null,"tree":[],"storefront":"/r/serilog-mssql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/serilog-mssql/serilog-sinks-mssqlserver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}