CSharpEssentials.LoggerHelper 3.1.5

dotnet add package CSharpEssentials.LoggerHelper --version 3.1.5
                    
NuGet\Install-Package CSharpEssentials.LoggerHelper -Version 3.1.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CSharpEssentials.LoggerHelper" Version="3.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CSharpEssentials.LoggerHelper" Version="3.1.5" />
                    
Directory.Packages.props
<PackageReference Include="CSharpEssentials.LoggerHelper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CSharpEssentials.LoggerHelper --version 3.1.5
                    
#r "nuget: CSharpEssentials.LoggerHelper, 3.1.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=CSharpEssentials.LoggerHelper&version=3.1.5
                    
Install CSharpEssentials.LoggerHelper as a Cake Addin
#tool nuget:?package=CSharpEssentials.LoggerHelper&version=3.1.5
                    
Install CSharpEssentials.LoggerHelper as a Cake Tool

Frameworks CodeQL NuGet Downloads Last Commit GitHub Discussions Issues

📦 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 message
  • Errors: 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 via HttpClient
  • Email: CSharpEssentials.LoggerHelper.Sink.EmailUsed via System.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on CSharpEssentials.LoggerHelper:

Package Downloads
CSharpEssentials.LoggerHelper.Sink.Postgresql

Package Description

CSharpEssentials.LoggerHelper.Sink.Elasticsearch

Sink ElasticSearch for CSharpEssentials.LoggerHelper

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 131 4 days ago
3.1.4 323 7 days ago
3.1.3 273 8 days ago
3.1.2 196 10 days ago
3.1.1 389 11 days ago
3.1.0 176 11 days ago
3.0.6 136 14 days ago
3.0.5 129 14 days ago
3.0.4 127 16 days ago
3.0.3 129 17 days ago
3.0.2 335 18 days ago
3.0.1 133 20 days ago
3.0.0 143 20 days ago
2.0.9 62 a month ago
2.0.8 97 a month ago
2.0.7 97 a month ago
2.0.6 129 a month ago
2.0.5 213 a month ago
2.0.4 239 a month ago
2.0.1 121 a month ago
2.0.0 122 a month ago
1.3.1 124 a month ago
1.2.3 71 a month ago
1.2.2 59 a month ago
1.2.1 105 a month ago
1.1.6 134 a month ago
1.1.5 153 a month ago
1.1.4 139 a month ago
1.1.3 142 a month ago
1.1.2 141 a month ago
1.1.1 133 a month ago
1.0.1 109 4 months ago
1.0.0 94 4 months ago