CSharpEssentials.LoggerHelper.Sink.Seq
5.2.6
dotnet add package CSharpEssentials.LoggerHelper.Sink.Seq --version 5.2.6
NuGet\Install-Package CSharpEssentials.LoggerHelper.Sink.Seq -Version 5.2.6
<PackageReference Include="CSharpEssentials.LoggerHelper.Sink.Seq" Version="5.2.6" />
<PackageVersion Include="CSharpEssentials.LoggerHelper.Sink.Seq" Version="5.2.6" />
<PackageReference Include="CSharpEssentials.LoggerHelper.Sink.Seq" />
paket add CSharpEssentials.LoggerHelper.Sink.Seq --version 5.2.6
#r "nuget: CSharpEssentials.LoggerHelper.Sink.Seq, 5.2.6"
#:package CSharpEssentials.LoggerHelper.Sink.Seq@5.2.6
#addin nuget:?package=CSharpEssentials.LoggerHelper.Sink.Seq&version=5.2.6
#tool nuget:?package=CSharpEssentials.LoggerHelper.Sink.Seq&version=5.2.6
CSharpEssentials.LoggerHelper.Sink.Seq
Seq centralized structured log server integration for CSharpEssentials.LoggerHelper.
Targets: net8.0 · net9.0 · net10.0 — Part of the CSharpEssentials.LoggerHelper ecosystem. Install only the sinks you need.
Install
dotnet add package CSharpEssentials.LoggerHelper
dotnet add package CSharpEssentials.LoggerHelper.Sink.Seq
Quick Setup — JSON
Add to appsettings.json:
{
"LoggerHelper": {
"ApplicationName": "MyApp",
"Routes": [
{ "Sink": "Seq", "Levels": ["Information", "Warning", "Error", "Fatal"] }
],
"Sinks": {
"Seq": {
"ServerUrl": "http://localhost:5341",
"ApiKey": "your-api-key"
}
}
}
}
// Program.cs
builder.Services.AddLoggerHelper(builder.Configuration);
var app = builder.Build();
app.UseLoggerHelper(); // ← required: activates sinks and registers middleware
ApiKeyis optional for local development. A local Seq instance (single-user, no auth) works withApiKeyomitted entirely.
Quick Setup — Fluent API
builder.Services.AddLoggerHelper(b => b
.WithApplicationName("MyApp")
.AddRoute("Seq", LogEventLevel.Information, LogEventLevel.Warning, LogEventLevel.Error, LogEventLevel.Fatal)
.ConfigureSeq(s => {
s.ServerUrl = "http://localhost:5341";
s.ApiKey = "your-api-key"; // omit for local no-auth Seq
})
);
var app = builder.Build();
app.UseLoggerHelper(); // ← required
What You'll See
Log events appear in the Seq web UI at http://localhost:5341 with full structured property support — filter, search, and alert on any property value:
2026-06-01 14:23:01 [INF] Order 42 placed by usr_99
OrderId = 42
UserId = "usr_99"
TenantId = "acme"
ApplicationName = "MyApp"
All properties set via BeginScope or call-site parameters are indexed and searchable in Seq's SQL-like query language:
-- Seq filter examples
ApplicationName = 'MyApp' and @Level = 'Error'
TenantId = 'acme' and OrderId > 100
Configuration Options
| Property | Type | Default | Description |
|---|---|---|---|
ServerUrl |
string |
"" |
Required. Seq ingestion URL (default port is 5341). |
ApiKey |
string? |
null |
API key for authentication. Optional for local single-user Seq instances. Required for production Seq Server or Seq Cloud. |
Quick Local Setup with Docker
The fastest way to run Seq locally:
docker run -d --name seq \
-e ACCEPT_EULA=Y \
-p 5341:80 \
datalust/seq
Open the Seq UI at http://localhost:5341. No API key needed for local single-user mode.
For Seq Cloud or a production server, generate an API key in Settings → API Keys and set it in ApiKey.
Troubleshooting
| Symptom | Likely Cause | Fix |
|---|---|---|
| No output at all | app.UseLoggerHelper() missing |
Add it after builder.Build() |
| No events appear in Seq UI | ServerUrl not reachable |
Check the URL and ensure Seq is running; curl http://localhost:5341/api should return JSON |
401 Unauthorized in logs |
Wrong or missing ApiKey |
Verify the key in Seq Settings → API Keys |
| Properties not visible in Seq | EnableRenderedMessage masking them |
Set General.EnableSelfLogging: true to see internal sink diagnostics |
| Events delayed | Network latency or Seq ingestion backpressure | Check Seq server health; reduce the number of events per second if needed |
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- CSharpEssentials.LoggerHelper (>= 5.2.6)
- Serilog.Sinks.Seq (>= 9.0.0)
-
net8.0
- CSharpEssentials.LoggerHelper (>= 5.2.6)
- Serilog.Sinks.Seq (>= 9.0.0)
-
net9.0
- CSharpEssentials.LoggerHelper (>= 5.2.6)
- Serilog.Sinks.Seq (>= 9.0.0)
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 |
|---|---|---|
| 5.2.6 | 105 | 8/31/2026 |
| 5.2.4.1 | 95 | 8/27/2026 |
| 5.2.4 | 108 | 8/25/2026 |
| 5.2.3 | 94 | 8/25/2026 |
| 5.2.2.9 | 136 | 7/11/2026 |
| 5.2.2.8 | 137 | 7/11/2026 |
| 5.2.2.7 | 124 | 7/10/2026 |
| 5.2.2.6 | 104 | 7/6/2026 |
| 5.2.2.5 | 119 | 7/5/2026 |
| 5.2.2.4 | 116 | 7/5/2026 |
| 5.2.2.3 | 118 | 7/5/2026 |
| 5.2.2.2 | 114 | 7/5/2026 |
| 5.2.2.1 | 118 | 7/4/2026 |
| 5.2.2 | 121 | 7/3/2026 |
| 5.2.0 | 137 | 6/29/2026 |
| 5.1.1 | 129 | 6/19/2026 |
| 5.1.0 | 121 | 6/16/2026 |
| 5.0.8 | 119 | 6/13/2026 |
| 5.0.7 | 123 | 6/11/2026 |
| 5.0.6 | 113 | 6/10/2026 |