SharpCoreDB.Serilog.Sinks
2.1.0-RC.3
dotnet add package SharpCoreDB.Serilog.Sinks --version 2.1.0-RC.3
NuGet\Install-Package SharpCoreDB.Serilog.Sinks -Version 2.1.0-RC.3
<PackageReference Include="SharpCoreDB.Serilog.Sinks" Version="2.1.0-RC.3" />
<PackageVersion Include="SharpCoreDB.Serilog.Sinks" Version="2.1.0-RC.3" />
<PackageReference Include="SharpCoreDB.Serilog.Sinks" />
paket add SharpCoreDB.Serilog.Sinks --version 2.1.0-RC.3
#r "nuget: SharpCoreDB.Serilog.Sinks, 2.1.0-RC.3"
#:package SharpCoreDB.Serilog.Sinks@2.1.0-RC.3
#addin nuget:?package=SharpCoreDB.Serilog.Sinks&version=2.1.0-RC.3&prerelease
#tool nuget:?package=SharpCoreDB.Serilog.Sinks&version=2.1.0-RC.3&prerelease
SharpCoreDB.Serilog.Sinks v2.1.0-RC.3
Serilog Sink for SharpCoreDB
Efficient batch logging to SharpCoreDB with AES-256-GCM encryption and AppendOnly storage for maximum write speed.
Patch updates in v1.9.5 (archived; current release v2.1.0-RC.3)
- ✅ Parameterized query binding fixed (Issue #336): named-parameter binding is token-aware, so parameter names that are prefixes of others (e.g.
@tvs@tid) no longer corrupt the SQL. - ✅ Server parameter pass-through fixed (Issue #337):
request.Parametersare forwarded on gRPC, the binary (PostgreSQL) protocol and WebSocket. - ✅ ULID encoding is now standards-compliant: ULIDs follow the official Crockford Base32 spec and are interchangeable with Python/Java/Go implementations.
- ✅ NuGet dependencies updated to their latest stable versions.
- ✅ Aligned package metadata and version references to the synchronized 1.9.5 release line.
- ✅ Release automation now publishes all packable SharpCoreDB packages in CI/CD.
Features
- ✅ Inherits metadata improvements from SharpCoreDB v1.9.5
- ✅ Efficient batch logging
- ✅ Enterprise encryption
- ✅ Production ready
🚀 Key Features
- Batch Logging: Write-optimized for high-throughput logging
- Encryption: AES-256-GCM transparent encryption
- AppendOnly: Maximum write performance
- Async Support: Full async/await support
- Structured Logging: Rich context preservation
💻 Quick Example
using Serilog;
using Serilog.Sinks.SharpCoreDB;
Log.Logger = new LoggerConfiguration()
.WriteTo.SharpCoreDB(
databasePath: "logs.scdb",
password: "logpassword",
batchSize: 1000)
.CreateLogger();
Log.Information("Application started");
Log.Error(ex, "An error occurred");
📚 Documentation
📦 Installation
dotnet add package SharpCoreDB.Serilog.Sinks --version 2.1.0-RC.3
Requires: SharpCoreDB v1.9.5+, Serilog v2.13+
Version: 1.9.5 | Status: ✅ Production Ready
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.Extensions.DependencyInjection (>= 10.0.11)
- Microsoft.Extensions.Logging (>= 10.0.11)
- Microsoft.Extensions.ObjectPool (>= 10.0.11)
- Serilog (>= 4.4.0)
- Serilog.Sinks.PeriodicBatching (>= 5.0.0)
- SharpCoreDB (>= 2.1.0-RC.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.0-RC.3 | 31 | 9/17/2026 |
| 2.0.0.3 | 120 | 9/12/2026 |
| 2.0.0.2 | 185 | 9/4/2026 |
| 2.0.0.1 | 283 | 9/1/2026 |
| 2.0.0 | 94 | 9/1/2026 |
| 2.0.0-preview.3 | 62 | 8/30/2026 |
| 2.0.0-preview.2 | 70 | 8/30/2026 |
| 2.0.0-preview.1 | 65 | 8/29/2026 |
| 1.9.9 | 110 | 8/30/2026 |
| 1.9.8 | 129 | 8/29/2026 |
| 1.9.7 | 113 | 8/29/2026 |
| 1.9.6 | 123 | 8/28/2026 |
| 1.9.5 | 121 | 8/27/2026 |
| 1.9.4 | 107 | 8/22/2026 |
| 1.9.3 | 125 | 7/28/2026 |
| 1.9.2 | 152 | 6/7/2026 |
| 1.9.1 | 124 | 5/21/2026 |
| 1.9.0 | 123 | 5/20/2026 |
| 1.8.0 | 143 | 4/29/2026 |
| 1.7.2 | 149 | 4/28/2026 |
v2.1.0-RC.3 (2026-09-17): net11.0-only (C# 15 preview) release line - 2,897 tests green across 16 suites; the fixed-width inline capacity ships at 16 by default on both storage paths (batched multi-row INSERT measured +12 to +19 percent); the overflow arena writes a row's payloads in one append instead of one file open per value; and in-place UPDATE/DELETE with deferred index maintenance put the fixed-width fair-PK layout ahead of SQLite on UPDATE (0.8x) and DELETE (0.5x). Full details: https://github.com/MPCoreDeveloper/SharpCoreDB/blob/release/v2.1.0.0-RC.3/docs/CHANGELOG.md