Infrastructure.ConsoleWindowLogger.Log C# (CSharp) Method

Log() private method

private Log ( ConsoleColor color, string message ) : void
color ConsoleColor
message string
return void
        private void Log(ConsoleColor color, string message, params object[] values)
        {
            lock (Sync)
            {
                Console.ForegroundColor = color;
                Console.WriteLine(FormatMessage(message, typeToLog, values));
                Console.ForegroundColor = originalColor;
            }
        }