ColorLogger_NET 1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ColorLogger_NET --version 1.0.1
NuGet\Install-Package ColorLogger_NET -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="ColorLogger_NET" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColorLogger_NET --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ColorLogger_NET, 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.
// Install ColorLogger_NET as a Cake Addin #addin nuget:?package=ColorLogger_NET&version=1.0.1 // Install ColorLogger_NET as a Cake Tool #tool nuget:?package=ColorLogger_NET&version=1.0.1
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.
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 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 was computed. 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.
-
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.
* Support for console with simple text option, if console width is 0 (Console, not a terminal).