A Serilog sink for SharpCoreDB - a lightweight, encrypted, file-based database. Features efficient batch logging with AES-256-GCM encryption, AppendOnly storage engine for maximum write speed, and full async support. Compatible with SharpCoreDB 1.4.1+.
$ dotnet add package SharpCoreDB.Serilog.SinksSerilog Sink for SharpCoreDB
Efficient batch logging to SharpCoreDB with AES-256-GCM encryption and AppendOnly storage for maximum write speed.
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");
dotnet add package SharpCoreDB.Serilog.Sinks --version 1.4.1
Requires: SharpCoreDB v1.4.1+, Serilog v2.13+
Version: 1.4.1 | Status: ✅ Production Ready