CSharpEssentials.LoggerHelper.Sink.Console 4.0.11

dotnet add package CSharpEssentials.LoggerHelper.Sink.Console --version 4.0.11
                    
NuGet\Install-Package CSharpEssentials.LoggerHelper.Sink.Console -Version 4.0.11
                    
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.Sink.Console" Version="4.0.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CSharpEssentials.LoggerHelper.Sink.Console" Version="4.0.11" />
                    
Directory.Packages.props
<PackageReference Include="CSharpEssentials.LoggerHelper.Sink.Console" />
                    
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.Sink.Console --version 4.0.11
                    
#r "nuget: CSharpEssentials.LoggerHelper.Sink.Console, 4.0.11"
                    
#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.
#:package CSharpEssentials.LoggerHelper.Sink.Console@4.0.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CSharpEssentials.LoggerHelper.Sink.Console&version=4.0.11
                    
Install as a Cake Addin
#tool nuget:?package=CSharpEssentials.LoggerHelper.Sink.Console&version=4.0.11
                    
Install as a Cake Tool

Introduction

The Console Sink for CSharpEssentials.LoggerHelper lets you output structured Serilog events directly to the console (standard output), with support for colored output and JSON/text formatting.
It plugs into the LoggerHelper HUB core via the ISinkPlugin mechanism, so you can route console-based logging based on your HUB configuration (e.g. per-level routing).


⚡ Version 4.0.10 — Extended Console Integration

Starting from version 4.0.10, the Console Sink can now forward console messages directly to the LoggerHelper Dashboard.
This enhancement allows developers to visualize all console output inside the web dashboard right at application startup — perfect for monitoring initialization steps and early configuration logs.

Additionally, this integration can be extended and customized within your own projects by leveraging the TraceDashBoardSync and TraceDashBoardAsync methods, giving you full control over how console logs are collected and displayed.

🧠 In short: version 4.0.10 connects the Console Sink to the Dashboard for real-time visibility at startup — and lets you extend it for your own logging scenarios.


Key Features

  • 🖥️ Colorized output: easily distinguish Information, Warning, Error, etc. by custom colors
  • 📜 Text or JSON formatting: choose the built-in console formatter or output raw JSON for each event
  • 🔀 Level-based routing: send only specific levels (e.g. Debug, Information, Error) to the console
  • 🧩 Minimal configuration: no external infrastructure needed—great for local development and diagnostics
  • ⚙️ Flexible themes: support for Serilog “ConsoleTheme” customization

🚀 Basic Usage

👉 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

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
4.0.11 64 10/22/2025
4.0.10.1 146 10/12/2025
4.0.2 250 9/12/2025
4.0.0 270 8/25/2025
3.1.5 208 6/15/2025
3.1.4 301 6/12/2025
3.1.3 308 6/11/2025
3.1.2 227 6/9/2025
3.1.1 211 6/8/2025
3.0.6 171 6/5/2025
3.0.5 157 6/5/2025
3.0.4 171 6/2/2025
3.0.3 312 6/2/2025
3.0.2 121 6/1/2025
3.0.1 95 5/31/2025