CSharpEssentials.LoggerHelper
3.1.6
See the version list below for details.
dotnet add package CSharpEssentials.LoggerHelper --version 3.1.6
NuGet\Install-Package CSharpEssentials.LoggerHelper -Version 3.1.6
<PackageReference Include="CSharpEssentials.LoggerHelper" Version="3.1.6" />
<PackageVersion Include="CSharpEssentials.LoggerHelper" Version="3.1.6" />
<PackageReference Include="CSharpEssentials.LoggerHelper" />
paket add CSharpEssentials.LoggerHelper --version 3.1.6
#r "nuget: CSharpEssentials.LoggerHelper, 3.1.6"
#:package CSharpEssentials.LoggerHelper@3.1.6
#addin nuget:?package=CSharpEssentials.LoggerHelper&version=3.1.6
#tool nuget:?package=CSharpEssentials.LoggerHelper&version=3.1.6
๐ฆ CSharpEssentials.LoggerHelper
The ultimate Serilog sink hub โ extensible, modular, centralized.
๐ก Why CSharpEssentials.LoggerHelper?
CSharpEssentials.LoggerHelper is not just another logging library โ itโs a smart hub for Serilog sinks.
Thanks to its modular architecture, you can plug in only the sinks you need.
๐ฅ But there's more:
For Telegram and Email, we bypass Serilog's limitations with native implementations via HttpClient and System.Net.Mail, unlocking advanced formatting and a built-in ThrottleInterval to prevent flooding your channels.
๐ง Configuration is centralized in a single file (appsettings.LoggerHelper.json), giving you full control over log levels and sink selection โ no code changes required!
๐ง Error Insight Built-In:
When something goes wrong, you can inspect:
CurrentError: the last exception messageErrors: the complete in-memory queue of failures
Perfect for debugging deployment or configuration issues.
๐ Whatโs New in 3.1.5?
โจ Added Sink: xUnit
When running tests in environments like DevOps pipelines, DBs and external endpoints may not always be accessible.
No worries โ with the xUnit sink, you get a full trace of failed tests directly inside your test output.
Just install the package and define your desired levels (Information, Warning, Error, etc.).
Perfect for debugging flaky tests or disconnected environments.
๐ Available Sink Packages
- Console:
CSharpEssentials.LoggerHelper.Sink.Console - File:
CSharpEssentials.LoggerHelper.Sink.File - MSSqlServer:
CSharpEssentials.LoggerHelper.Sink.MSSqlServer - PostgreSQL:
CSharpEssentials.LoggerHelper.Sink.PostgreSql - ElasticSearch:
CSharpEssentials.LoggerHelper.Sink.Elasticsearch - Telegram:
CSharpEssentials.LoggerHelper.Sink.TelegramUsed viaHttpClient - Email:
CSharpEssentials.LoggerHelper.Sink.EmailUsed viaSystem.Net.Mail - xUnit:
CSharpEssentials.LoggerHelper.Sink.xUnitโ ( new from 3.1.5 )
๐ Check out how to use the package in the documentation
๐ View the usage guide here!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 was computed. 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. |
-
net6.0
- Microsoft.Extensions.Configuration (>= 9.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.1)
- Microsoft.Extensions.Configuration.Json (>= 9.0.1)
- Serilog (>= 4.2.0)
- Serilog.Settings.Configuration (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 9.0.4)
-
net8.0
- Microsoft.Extensions.Configuration (>= 9.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.1)
- Microsoft.Extensions.Configuration.Json (>= 9.0.1)
- Serilog (>= 4.2.0)
- Serilog.Settings.Configuration (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 9.0.4)
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.1)
- Microsoft.Extensions.Configuration.Json (>= 9.0.1)
- Serilog (>= 4.2.0)
- Serilog.Settings.Configuration (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 9.0.4)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on CSharpEssentials.LoggerHelper:
| Package | Downloads |
|---|---|
|
CSharpEssentials.HttpHelper
package to help manage of httpHelper |
|
|
CSharpEssentials.LoggerHelper.Sink.MSSqlServer
A powerful SQL Server sink for CSharpEssentials.LoggerHelper , designed to log directly into Microsoft SQL Server with automatic table creation, custom columns, and structured context properties. |
|
|
CSharpEssentials.LoggerHelper.Sink.Console
Package Description |
|
|
CSharpEssentials.LoggerHelper.Sink.Elasticsearch
A high-performance Elasticsearch sink for CSharpEssentials.LoggerHelper , designed to index logs into Elasticsearch for fast search, advanced filtering, and real-time dashboards with Kibana. |
|
|
CSharpEssentials.LoggerHelper.Sink.Postgresql
Stores structured logs directly into PostgreSQL with support for custom schemas, JSON fields, and automatic table creation for deep analytics and long-term storage. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.10.1 | 188 | 10/12/2025 |
| 4.0.10 | 328 | 10/12/2025 |
| 4.0.9.1 | 113 | 10/10/2025 |
| 4.0.9 | 99 | 10/10/2025 |
| 4.0.8 | 125 | 10/10/2025 |
| 4.0.7 | 163 | 10/8/2025 |
| 4.0.6 | 166 | 10/8/2025 |
| 4.0.5 | 408 | 9/27/2025 |
| 4.0.4 | 110 | 9/27/2025 |
| 4.0.3 | 239 | 9/14/2025 |
| 4.0.2 | 521 | 9/11/2025 |
| 4.0.1.1 | 165 | 9/11/2025 |
| 4.0.1 | 183 | 9/11/2025 |
| 4.0.0 | 842 | 8/25/2025 |
| 3.1.6 | 273 | 8/5/2025 |
| 3.1.5 | 409 | 6/15/2025 |
| 3.1.4 | 451 | 6/12/2025 |
| 3.1.3 | 316 | 6/11/2025 |
| 3.1.2 | 236 | 6/9/2025 |
| 3.1.1 | 614 | 6/8/2025 |
| 3.1.0 | 224 | 6/8/2025 |
| 3.0.6 | 177 | 6/5/2025 |
| 3.0.5 | 176 | 6/5/2025 |
| 3.0.4 | 192 | 6/2/2025 |
| 3.0.3 | 171 | 6/2/2025 |
| 3.0.2 | 604 | 6/1/2025 |
| 3.0.1 | 216 | 5/30/2025 |
| 3.0.0 | 248 | 5/30/2025 |
| 2.0.9 | 103 | 5/24/2025 |
| 2.0.8 | 141 | 5/23/2025 |
| 2.0.7 | 141 | 5/23/2025 |
| 2.0.6 | 161 | 5/19/2025 |
| 2.0.5 | 257 | 5/14/2025 |
| 2.0.4 | 286 | 5/13/2025 |
| 2.0.1 | 182 | 5/11/2025 |
| 2.0.0 | 168 | 5/11/2025 |
| 1.3.1 | 166 | 5/11/2025 |
| 1.2.3 | 117 | 5/10/2025 |
| 1.2.2 | 109 | 5/10/2025 |
| 1.2.1 | 154 | 5/9/2025 |
| 1.1.6 | 181 | 5/6/2025 |
| 1.1.5 | 197 | 5/5/2025 |
| 1.1.4 | 180 | 5/4/2025 |
| 1.1.3 | 193 | 5/4/2025 |
| 1.1.2 | 184 | 5/4/2025 |
| 1.1.1 | 186 | 5/4/2025 |
| 1.0.1 | 149 | 2/19/2025 |
| 1.0.0 | 144 | 2/19/2025 |