45 using System.Collections.Generic;
73 string BlanksBefore =
string.Empty;
87 Console.ForegroundColor = ConsoleColor.Red;
88 Console.Write(this.BlanksBefore +
"Error: ");
90 Console.WriteLine(fps_Message);
100 Console.ForegroundColor = ConsoleColor.Magenta;
101 Console.Write(this.BlanksBefore +
"Exception: ");
102 Console.ResetColor();
103 Console.WriteLine(fps_Message);
139 this.
LogPrint(fpb_Return.ToString());
154 foreach (
string Value
in fpls_Return)
174 for (
int i = 0; i < fpsParameter.Length; i += 2)
176 this.
LogPrint(fpsParameter[i] +
": >>" + fpsParameter[i + 1] +
"<<");
202 String String2Print = fps_KeyWordName;
205 if (fpsParameter.Length == 0)
208 String2Print = String2Print +
"()";
211 else if (fpsParameter.Length == 1)
213 String2Print = String2Print +
": \"" + fpsParameter[0] +
"\"";
216 else if (fpsParameter.Length == 2)
218 String2Print = String2Print +
": \"" + fpsParameter[0] +
"\" = \"" + fpsParameter[1] +
"\"";
223 String2Print = String2Print +
"(\"" + fpsParameter[0] +
"\"";
225 for (
int i = 1; i < fpsParameter.Length; i++)
227 String2Print = String2Print +
", \"" + fpsParameter[i] +
"\"";
230 String2Print = String2Print +
")";
245 Console.ResetColor();
246 Console.WriteLine(this.BlanksBefore + fps_Message);
254 public void LogVerify(
string fps_Actual,
string fps_Expected)
256 Console.WriteLine(this.BlanksBefore +
"Expected = >>" + fps_Expected +
"<<");
258 if (fps_Actual == fps_Expected)
260 Console.ForegroundColor = ConsoleColor.DarkGreen;
264 Console.ForegroundColor = ConsoleColor.Red;
267 Console.WriteLine(this.BlanksBefore +
" Actual = >>" + fps_Actual +
"<<");
268 Console.ResetColor();
278 Console.ForegroundColor = ConsoleColor.Yellow;
279 Console.Write(this.BlanksBefore +
"Warning: ");
280 Console.ResetColor();
281 Console.WriteLine(fps_Message);
291 if (this.LevelCounter > 0)
297 this.LevelCounter = 0;
322 this.BlanksBefore =
new string(
' ', this.LevelCounter);
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
void ResCloseList()
Closes the outline level.
void LogFunctionEnd(string fps_Return)
void LogWarning(string fps_Message)
LogWarning Function: Logs a warning to the results file.
void LogException(string fps_Message)
LogException Function: Logs a Script Exception to the results file.
void LogKeyWordStart(string fps_KeyWordName, params string[] fpsParameter)
void LogFunctionEnd(bool fpb_Return)
void LogVerify(string fps_Actual, string fps_Expected)
Klasse zur Ausgabe in die Console.
void LogFunctionEnd(List< string > fpls_Return)
void LogFunctionStart(string fps_FunctionName, params string[] fpsParameter)
void ResOpenList(string fps_Name)
Debug Logs are not a part of Interface. This functions are Implemented in Logger.cs a Log*Debug funct...
void LogError(string fps_Message)
LogError Function: Logs an error message to the results file.