ColorLogger_NET 1.0.3

.NET 6.0
Install-Package ColorLogger_NET -Version 1.0.3
dotnet add package ColorLogger_NET --version 1.0.3
<PackageReference Include="ColorLogger_NET" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColorLogger_NET --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ColorLogger_NET, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ColorLogger_NET as a Cake Addin
#addin nuget:?package=ColorLogger_NET&version=1.0.3

// Install ColorLogger_NET as a Cake Tool
#tool nuget:?package=ColorLogger_NET&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Color Logger for .NET.

NuGet Version NuGet Downloads License

Print colored logs on terminal for .NET.

Features

  • Prints different log types with different colors.
  • Log Types:
    • Verbose
    • Info
    • Debug
    • Warning
    • Error
    • Unknown

Usage

ColorLogger logger = new ColorLogger();
logger.Print("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", LogLevel.debug);
logger.Print("hello world !", LogLevel.verbose);
logger.Print("love dotnet :)", LogLevel.info);
logger.Print("hey check that!", LogLevel.warning);
logger.Print("please use c# !", LogLevel.error);
logger.Print("dotnet rocks !", LogLevel.unknown);

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ColorLogger_NET:

Package Downloads
TCIDChecker_NET

Determines that given TC ID is correct or wrong based on rules for .NET.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 86 2/21/2022
1.0.2 62 2/21/2022
1.0.1 76 2/20/2022
1.0.0 65 2/18/2022

* README.md updated.