make logging more fancy

This commit is contained in:
Chomp 2021-08-13 16:21:20 +01:00
parent b305dc16d6
commit 86d197879f

View File

@ -11,7 +11,18 @@ namespace Generator.Helpers
public static void LogToConsole(string message) public static void LogToConsole(string message)
{ {
Console.BackgroundColor = ConsoleColor.Green;
Console.ForegroundColor = ConsoleColor.Black;
Console.WriteLine(message); Console.WriteLine(message);
ResetConsoleColours();
}
private static void ResetConsoleColours()
{
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.White;
} }
} }
} }