serilog-mssql / serilog-sinks-mssqlserver

A Serilog sink that writes events to Microsoft SQL Server and Azure SQL
Apache License 2.0
278 stars 148 forks source link

Fixed a string truncate bug #506

Closed Whinarn closed 9 months ago

Whinarn commented 10 months ago

Added a fix for a bug introduced in v6.4.0 where NVarChar columns with a data length of 1 would always end up as an empty string inside the database.

Fixes #505

ckadluba commented 9 months ago

Thank you for the contribution. It is very welcome! :)