Пример #1
0
 static void Logger_OnWriteEvent(VHDL.parser.LoggerMessageVerbosity verbosity, string message)
 {
     Console.WriteLine(String.Format("[{0}] {1}", verbosity, message));
 }
Пример #2
0
 static void Logger_OnWriteEvent(VHDL.parser.LoggerMessageVerbosity verbosity, string message)
 {
     Console.ForegroundColor = VHDL.parser.Logger.ConvertToConsoleColor(verbosity);
     Console.WriteLine(String.Format("[{0}] {1}", verbosity, message));
     Console.ResetColor();
 }