SinkSharp.Sinks.Console 1.0.1

dotnet add package SinkSharp.Sinks.Console --version 1.0.1
                    
NuGet\Install-Package SinkSharp.Sinks.Console -Version 1.0.1
                    
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="SinkSharp.Sinks.Console" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SinkSharp.Sinks.Console" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="SinkSharp.Sinks.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 SinkSharp.Sinks.Console --version 1.0.1
                    
#r "nuget: SinkSharp.Sinks.Console, 1.0.1"
                    
#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 SinkSharp.Sinks.Console@1.0.1
                    
#: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=SinkSharp.Sinks.Console&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=SinkSharp.Sinks.Console&version=1.0.1
                    
Install as a Cake Tool

SinkSharp.Sinks.Console

NuGet License: Apache 2.0

Coloured console sink for SinkSharp — high-performance structured logging for .NET 9.

Install

dotnet add package SinkSharp.Core
dotnet add package SinkSharp.Sinks.Console

Usage

builder.Services.AddSinkSharp(options => options
    .MinimumLevel(LogLevel.Information)
    .WriteTo(new ColoredConsoleSink()));

Log level colours

Level Colour
Debug Grey
Information Default
Warning Yellow
Error Red
Critical Dark red

Dependencies

Package Version
SinkSharp.Core 1.0.0

Release notes

v1.0.0

  • ANSI colour output for all log levels
  • Writes on background drainer thread — zero caller-thread blocking
🌐 Website https://www.sinksharp.com
🧪 Samples https://github.com/SinkSharp/Samples
📧 Support support@sinksharp.com
📄 Licence Apache 2.0
📋 Changelog CHANGELOG.md
Product Compatible and additional computed target framework versions.
.NET 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
1.0.1 174 10/11/2026
1.0.0 105 10/10/2026

v1.0.0 — Initial release
• Striped async channel queue (one per CPU core)
• MessageTemplate caching — zero parse cost after first call
• LogEvent object pool — reduced GC pressure
• Built-in PII masking (email, credit card, SSN, phone)
• Correlation ID auto-propagation via AsyncLocal
• Per-category log level overrides
• MEL ILogger<T> compatible — no code changes needed
• Full GitHub Actions Trusted Publishing support
See full changelog: https://github.com/SinkSharp/.github/blob/main/profile/CHANGELOG.md