CSharpEssentials.LoggerHelper
3.1.5
dotnet add package CSharpEssentials.LoggerHelper --version 3.1.5
NuGet\Install-Package CSharpEssentials.LoggerHelper -Version 3.1.5
<PackageReference Include="CSharpEssentials.LoggerHelper" Version="3.1.5" />
<PackageVersion Include="CSharpEssentials.LoggerHelper" Version="3.1.5" />
<PackageReference Include="CSharpEssentials.LoggerHelper" />
paket add CSharpEssentials.LoggerHelper --version 3.1.5
#r "nuget: CSharpEssentials.LoggerHelper, 3.1.5"
#addin nuget:?package=CSharpEssentials.LoggerHelper&version=3.1.5
#tool nuget:?package=CSharpEssentials.LoggerHelper&version=3.1.5
📦 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.Telegram
Used viaHttpClient
- Email:
CSharpEssentials.LoggerHelper.Sink.Email
Used 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.4)
- 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.4)
- 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.4)
- 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 (8)
Showing the top 5 NuGet packages that depend on CSharpEssentials.LoggerHelper:
Package | Downloads |
---|---|
CSharpEssentials.LoggerHelper.Sink.Elasticsearch
Sink ElasticSearch for CSharpEssentials.LoggerHelper |
|
CSharpEssentials.LoggerHelper.Sink.Postgresql
Package Description |
|
CSharpEssentials.LoggerHelper.Sink.File
Sink File for package LoggerHelper |
|
CSharpEssentials.LoggerHelper.Sink.MSSqlServer
Package Description |
|
CSharpEssentials.LoggerHelper.Sink.Console
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
3.1.5 | 235 | 6/15/2025 |
3.1.4 | 347 | 6/12/2025 |
3.1.3 | 279 | 6/11/2025 |
3.1.2 | 201 | 6/9/2025 |
3.1.1 | 400 | 6/8/2025 |
3.1.0 | 181 | 6/8/2025 |
3.0.6 | 140 | 6/5/2025 |
3.0.5 | 142 | 6/5/2025 |
3.0.4 | 134 | 6/2/2025 |
3.0.3 | 135 | 6/2/2025 |
3.0.2 | 339 | 6/1/2025 |
3.0.1 | 136 | 5/30/2025 |
3.0.0 | 148 | 5/30/2025 |
2.0.9 | 68 | 5/24/2025 |
2.0.8 | 101 | 5/23/2025 |
2.0.7 | 105 | 5/23/2025 |
2.0.6 | 132 | 5/19/2025 |
2.0.5 | 219 | 5/14/2025 |
2.0.4 | 247 | 5/13/2025 |
2.0.1 | 125 | 5/11/2025 |
2.0.0 | 126 | 5/11/2025 |
1.3.1 | 131 | 5/11/2025 |
1.2.3 | 80 | 5/10/2025 |
1.2.2 | 65 | 5/10/2025 |
1.2.1 | 108 | 5/9/2025 |
1.1.6 | 136 | 5/6/2025 |
1.1.5 | 160 | 5/5/2025 |
1.1.4 | 142 | 5/4/2025 |
1.1.3 | 148 | 5/4/2025 |
1.1.2 | 146 | 5/4/2025 |
1.1.1 | 137 | 5/4/2025 |
1.0.1 | 114 | 2/19/2025 |
1.0.0 | 101 | 2/19/2025 |