ColorLogger_NET 1.1.0
dotnet add package ColorLogger_NET --version 1.1.0
NuGet\Install-Package ColorLogger_NET -Version 1.1.0
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="ColorLogger_NET" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ColorLogger_NET" Version="1.1.0" />
<PackageReference Include="ColorLogger_NET" />
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 ColorLogger_NET --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ColorLogger_NET, 1.1.0"
#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 ColorLogger_NET@1.1.0
#: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=ColorLogger_NET&version=1.1.0
#tool nuget:?package=ColorLogger_NET&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Color Logger for .NET
Print colored logs on terminal for .NET.
Target Framework
- .NET 10 (
net10.0)
Features
- Prints different log types with different colors.
- Log Types:
- Verbose
- Info
- Debug
- Warning
- Error
- Unknown
Usage
using ColorLoggerLibrary;
var logger = new ColorLogger();
logger.Print("Lorem ipsum dolor sit amet, consectetur adipiscing elit.", 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 Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.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.
* Updated target framework to .NET 10.
* Modernized logger implementation and API internals.