Vectron.Extensions.Logging.Theming 1.0.24

dotnet add package Vectron.Extensions.Logging.Theming --version 1.0.24
NuGet\Install-Package Vectron.Extensions.Logging.Theming -Version 1.0.24
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="Vectron.Extensions.Logging.Theming" Version="1.0.24" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vectron.Extensions.Logging.Theming --version 1.0.24
#r "nuget: Vectron.Extensions.Logging.Theming, 1.0.24"
#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.
// Install Vectron.Extensions.Logging.Theming as a Cake Addin
#addin nuget:?package=Vectron.Extensions.Logging.Theming&version=1.0.24

// Install Vectron.Extensions.Logging.Theming as a Cake Tool
#tool nuget:?package=Vectron.Extensions.Logging.Theming&version=1.0.24

Vectron.Extensions.Logging.Theming

License: MIT Build status NuGet

Vectron.Extensions.Logging.Theming provides a single line log formatter (based on the SimpleConsoleFormatter in Microsoft.Extensions.Logging.Console that can use Themes to change colors.

Changes with default simple formatter

  1. The message will be single line, but preserves new lines in the message.
  2. The Level text is changed to capitals and full word
        trce → TRACE
        dbug → DEBUG
        info → INFO
        warn → WARN
        fail → FAIL
        crit → CRIT
  3. implemented themes for coloring.
        Change theme by changing the FormatterOptions.Theme options.
        Buildin themes:
Option Description
MEL Use the colors like 'Microsoft.Extensions.Logging.Console'
MEL-Dark Use the colors like 'Microsoft.Extensions.Logging.Console', but for a dark background
NLog Use the colors like 'NLog'
NLog-Dark Use the colors like 'NLog', but for a dark background
Serilog Use the colors like 'Serilog'
Serilog-Dark Use the colors like 'Serilog', but for a dark background
None Don't colorize the output

Output examples:

Microsoft.Extensions.Logging level only
Microsoft.Extensions.Logging Full line

NLog level only
NLog Full line

Serilog level only
Serilog Full line

Authors

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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Vectron.Extensions.Logging.Theming:

Package Downloads
Vectron.Extensions.Logging.Theming.Console

Package Description

Vectron.Extensions.Logging.Theming.TextBlock

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.24 115 3/11/2024