FluentConsole.Net
1.0.8566.1
See the version list below for details.
dotnet add package FluentConsole.Net --version 1.0.8566.1
NuGet\Install-Package FluentConsole.Net -Version 1.0.8566.1
<PackageReference Include="FluentConsole.Net" Version="1.0.8566.1" />
paket add FluentConsole.Net --version 1.0.8566.1
#r "nuget: FluentConsole.Net, 1.0.8566.1"
// Install FluentConsole.Net as a Cake Addin #addin nuget:?package=FluentConsole.Net&version=1.0.8566.1 // Install FluentConsole.Net as a Cake Tool #tool nuget:?package=FluentConsole.Net&version=1.0.8566.1
FluentConsole.Net
Using .Net Console In Elegant Way !
✔ Easy to use and develop , clean code , and also designed to be fully thread-safe.
✔ FluentConsole.Net uses fluent builder pattern.
✔ FluentConsole.Net has fluent extension methods to write directly on Console.
✔ FluentConsole.Net is able to use FastLog.Net logger to also log the data when printing on the Console.
How To Use ❔
- An elegant fluent builder pattern to work with Console 👇
FluentConsole.Console
.WithFontColor(ConsoleColor.Yellow)
.WithBackColor(ConsoleColor.DarkGray)
.Write(DateTime.Now.ToString())
.AddSpace()
.WriteLine("Fluent Console For .Net")
.AddCharacter('*', 20)
.AddBreakLine(2)
.WriteLine("Developed By Shayan Firoozi")
.Print();
- Another Example with FastLog.Net , high performance logger 👇
FluentConsole.AttachLogger(fastLogger);
FluentConsole.Console
.WithTitle("This is the Fluent Console For .Net")
.WithFontColor(ConsoleColor.Yellow)
.AddLine(LineWidth: 20)
.Write("Who wants to live forever ?!")
.Beep()
.PrintAndLog();
- Also u can easily use built-in Extension Methods 👇
1364.WriteLineOnConsole(Formatted: true);
true.WriteLineOnConsole();
false.WriteLineOnConsole(YesNoFormat: true);
// Also for List<string>
List<string> greatest = new List<string>() { "David Gilmour", "Joe Satriani", "Stevie Ray Vaughan", "Slash !", "Paul Mccartney" };
greatest.WriteLineOnConsole();
// Printing your Exception object as easy as hell !
new InvalidOperationException("This a test exception I want to throw !!").WriteLineOnConsoleWithJSON();
new InvalidOperationException("This a test exception I want to throw !!").WriteLineOnConsole();
// Print DateTime object in proper and also optional format on console
FluentConsole.Console.WriteLine(DateTime.Now).Print();
FluentConsole.Console.WriteLine(DateTime.Now,"HH:mm:ss").Print();
- FastConsole methods 👇
FastConsole.PrintText("This is a Normal text !\n");
FastConsole.PrintInfo("This is an Info text !\n");
FastConsole.PrintNote("This is a Note text !\n");
FastConsole.PrintTodo("This is a Todo text !\n");
FastConsole.PrintWarning("This is a Warning message !\n");
FastConsole.PrintAlert("This is an Alert message !\n");
FastConsole.PrintDebug("This is a Debug message !\n");
FastConsole.PrintError("This is an Error message !\n");
FastConsole.PrintException(new InvalidCastException("This is a test Exception from \"FluentConsole.Net\"\n"));
FastConsole.PrintSystem("This is a System message!\n");
FastConsole.PrintSecurity("This is a Security message!\n");
- Symbolic Print with Style methods 👇
FluentConsole.FastConsole.PrintSymbolicText("I AM A STYLISH TEXT", FontStyle.StyleA, ConsoleColor.DarkCyan);
GitHub Repository
Please visit FluentConsole.Net Github repository for source code and more info : FluentConsole.Net On GitHub
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 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 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. |
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Microsoft.CSharp (>= 4.7.0)
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FluentConsole.Net:
Package | Downloads |
---|---|
FastLog.Net
High performance and fully thread-safe logger for .NET 💯 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.8568 | 564 | 6/17/2023 |
1.0.8566.1 | 400 | 6/15/2023 |
1.0.8566 | 419 | 6/14/2023 |
1.0.8565.1 | 146 | 6/14/2023 |
1.0.8565 | 151 | 6/14/2023 |
1.0.8564 | 406 | 6/13/2023 |
1.0.8562.1 | 152 | 6/11/2023 |
1.0.8562 | 145 | 6/11/2023 |
1.0.8561 | 158 | 6/10/2023 |
1.0.8557 | 134 | 6/5/2023 |
1.0.8556 | 406 | 6/4/2023 |
1.0.8555 | 147 | 6/3/2023 |
- Update some FastConsole colors.