45 using System.Collections.Generic;
53 private bool cvbDebugMode =
false;
54 private List<ILogger> LoggerList =
new List<ILogger>();
64 #endregion Constructors
68 public static Logger Instance
80 return this.cvbDebugMode;
85 this.cvbDebugMode = value;
112 this.LoggerList.Add(fpLogger);
133 this.LoggerList.Clear();
134 this.cvbDebugMode =
false;
144 foreach (
ILogger myLogger
in this.LoggerList)
157 foreach (
ILogger myLogger
in this.LoggerList)
163 public void LogFunctionEnd(
string fps_Return)
165 foreach (
ILogger myLogger
in this.LoggerList)
167 myLogger.LogFunctionEnd(fps_Return);
171 public void LogFunctionEnd(
bool fpb_Return)
173 foreach (ILogger myLogger
in this.LoggerList)
175 myLogger.LogFunctionEnd(fpb_Return);
179 public void LogFunctionEnd(List<string> fpls_Return)
181 foreach (ILogger myLogger
in this.LoggerList)
183 myLogger.LogFunctionEnd(fpls_Return);
187 public void LogFunctionEnd()
189 foreach (ILogger myLogger
in this.LoggerList)
191 myLogger.LogFunctionEnd();
195 public void LogFunctionEndDebug()
197 if (this.cvbDebugMode)
199 foreach (ILogger myLogger
in this.LoggerList)
201 myLogger.LogFunctionEnd();
206 public void LogFunctionEndDebug(
string fps_Return)
208 if (this.cvbDebugMode)
210 foreach (ILogger myLogger
in this.LoggerList)
212 myLogger.LogFunctionEnd(fps_Return);
217 public void LogFunctionEndDebug(List<string> fps_Return)
219 if (this.cvbDebugMode)
221 foreach (ILogger myLogger
in this.LoggerList)
223 myLogger.LogFunctionEnd(fps_Return);
228 public void LogFunctionEndDebug(
bool fpb_Return)
230 if (this.cvbDebugMode)
232 foreach (ILogger myLogger
in this.LoggerList)
234 myLogger.LogFunctionEnd(fpb_Return);
240 public void LogFunctionStart(
string fps_FunctionName, params
string[] fpsParameter)
242 foreach (ILogger myLogger
in this.LoggerList)
244 myLogger.LogFunctionStart(fps_FunctionName, fpsParameter);
249 public void LogFunctionStartDebug(
string fps_FunctionName, params
string[] fpsParameter)
251 if (this.cvbDebugMode)
253 foreach (ILogger myLogger
in this.LoggerList)
255 myLogger.LogFunctionStart(fps_FunctionName, fpsParameter);
261 public void LogKeyWordEnd()
263 foreach (ILogger myLogger
in this.LoggerList)
265 myLogger.LogKeyWordEnd();
291 foreach (
ILogger myLogger
in this.LoggerList)
293 myLogger.LogKeyWordStart(fpsKeyWordName, fpsParameter);
304 foreach (
ILogger myLogger
in this.LoggerList)
334 if (this.cvbDebugMode)
336 foreach (
ILogger myLogger
in this.LoggerList)
364 public void LogVerify(
string fpsActual,
string fpsExpected)
366 foreach (
ILogger myLogger
in this.LoggerList)
368 myLogger.LogVerify(fpsActual, fpsExpected);
379 foreach (
ILogger myLogger
in this.LoggerList)
394 foreach (
ILogger myLogger
in this.LoggerList)
409 if (this.cvbDebugMode)
411 foreach (
ILogger myLogger
in this.LoggerList)
428 foreach (
ILogger myLogger
in this.LoggerList)
430 myLogger.ResOpenList(fps_Name);
457 if (this.cvbDebugMode)
459 foreach (
ILogger myLogger
in this.LoggerList)
461 myLogger.ResOpenList(fpsListCaption);
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
void ResOpenList(string fps_Name)
Creates a new hierarchical level in the results file. Use ResOpenList to start a new hierarchical lev...
void LogException(string fps_Message)
LogException Function: Logs a Script Exception to the results file.
void LogException(string fps_Message)
LogException Function: Logs a Script Exception to the results file.
void Init()
Initialisiert die Klasse.
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
void LogWarning(string fps_Message)
LogWarning Function: Logs a warning to the results file.
void AddLogger(ILogger fpLogger)
Fügt einen ILogger der Logger-Liste Logger.LoggerList.
void ResCloseList()
Closes the outline level.
void ResCloseListDebug()
Closes a hierarchical level in the results file that was opened with ResOpenList. Use ResOpenList to ...
void LogVerify(string fpsActual, string fpsExpected)
Logt Soll-Ist Vergeleich.
void LogError(string fps_Message)
LogError Function: Logs an error message to the results file.
void LogKeyWordStart(string fpsKeyWordName, params string[] fpsParameter)
Ausgabe eines Schlüsselwortes.
void LogPrintDebug(string fpsMessage)
Loggt eine Nachricht.
void ResOpenListDebug(string fpsListCaption)
Erzeugt eine hierachische Log-Ebene in der Ergenbniss-Ausgabe.
Debug Logs are not a part of Interface. This functions are Implemented in Logger.cs a Log*Debug funct...
void LogWarning(string fps_Message)
LogWarning Function: Logs a warning to the results file.
void LogError(string fps_Message)
LogError Function: Logs an error message to the results file.
void ResCloseList()
Closes a hierarchical level in the results file that was opened with ResOpenList. Use ResOpenList to ...