Im trying to make a config that can change the color of the console message. Here is the config
"ErrorColor": "Red",
here is before there was no config to change the color.
Console.ForegroundColor = color == ConsoleColor.Black ? ConsoleColor.Red : color;
here is what I tried to add it.
Console.ForegroundColor = color == ConsoleColor.Black ? ConsoleColor.(session.LogicSettings.ErrorColor) : color;
how would my code look like?