add support for loglevel color configuration

This commit is contained in:
Master
2023-10-14 20:02:51 +02:00
parent 296bdd11e5
commit 21284c69c4
5 changed files with 33 additions and 29 deletions

View File

@@ -0,0 +1,17 @@
namespace AscNet.Logging
{
public class LogLevelColor
{
public ConsoleColor Debug { get; set; } = ConsoleColor.Magenta;
public ConsoleColor Info { get; set; } = ConsoleColor.Green;
public ConsoleColor Warning { get; set; } = ConsoleColor.Yellow;
public ConsoleColor Error { get; set; } = ConsoleColor.Red;
public ConsoleColor Fatal { get; set; } = ConsoleColor.DarkRed;
}
}