mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-14 19:14:36 +01:00
add support for loglevel color configuration
This commit is contained in:
17
AscNet.Logging/LogLevelColor.cs
Normal file
17
AscNet.Logging/LogLevelColor.cs
Normal 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;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user