OpenKeyWord  Build Tag: jenkins-DoxyGen_EN-107, Build ID: 2015-03-08_20-51-06
 All Classes Namespaces Functions Variables Properties Pages
OKW.Log.Logger Class Reference
Collaboration diagram for OKW.Log.Logger:

Public Member Functions

void AddLogger (ILogger fp_Logger)
 
void Init ()
 Initialisiert die Klassse und bring ihn aud uhr.
 
void LogError (string fps_Message)
 LogError Function: Logs an error message to the results file. More...
 
void LogException (string fps_Message)
 LogException Function: Logs a Script Exception to the results file. More...
 
void LogFunctionEnd (string fps_Return)
 
void LogFunctionEnd (bool fpb_Return)
 
void LogFunctionEnd (List< string > fpls_Return)
 
void LogFunctionEnd ()
 
void LogFunctionEndDebug ()
 
void LogFunctionEndDebug (string fps_Return)
 
void LogFunctionEndDebug (List< string > fps_Return)
 
void LogFunctionEndDebug (bool fpb_Return)
 
void LogFunctionStart (string fps_FunctionName)
 
void LogFunctionStart (string fps_FunctionName, string P1_Name, string P1_Value)
 
void LogFunctionStart (string fps_FunctionName, string P1_Name, string P1_Value, string P2_Name, string P2_Value)
 
void LogFunctionStart (string fps_FunctionName, string P1_Name, string P1_Value, string P2_Name, string P2_Value, string P3_Name, string P3_Value)
 
void LogFunctionStart (string fps_FunctionName, string P1_Name, string P1_Value, string P2_Name, string P2_Value, string P3_Name, string P3_Value, string P4_Name, string P4_Value)
 
void LogFunctionStartDebug (string fps_FunctionName)
 
void LogFunctionStartDebug (string fps_FunctionName, string P1_Name, string P1_Value)
 
void LogFunctionStartDebug (string fps_FunctionName, string P1_Name, string P1_Value, string P2_Name, string P2_Value)
 
void LogFunctionStartDebug (string fps_FunctionName, string P1_Name, string P1_Value, string P2_Name, string P2_Value, string P3_Name, string P3_Value)
 
void LogFunctionStartDebug (string fps_FunctionName, string P1_Name, string P1_Value, string P2_Name, string P2_Value, string P3_Name, string P3_Value, string P4_Name, string P4_Value)
 
void LogKeyWordEnd ()
 
void LogKeyWordStart (string fps_KeyWordName)
 
void LogKeyWordStart (string fps_KeyWordName, string fps_Parameter_1)
 
void LogKeyWordStart (string fps_KeyWordName, string fps_Parameter_1, string fps_Parameter_2)
 
void LogKeyWordStart (string fps_KeyWordName, string fps_Parameter_1, string fps_Parameter_2, string fps_Parameter_3)
 
void LogKeyWordStart (string fps_KeyWordName, string fps_Parameter_1, string fps_Parameter_2, string fps_Parameter_3, string fps_Parameter_4)
 
void LogPrint (string fps_Message)
 LogPrint Function: Prints the values of expressions to the results file. More...
 
void LogPrintDebug (string fps_Message)
 Prints the message >>fps_Message<< of expressions to the results file, if cvb_DebugMode. More...
 
void LogVerify (string fps_Actual, string fps_Expected)
 
void LogWarning (string fps_Message)
 LogWarning Function: Logs a warning to the results file. More...
 
void ResCloseList ()
 Closes a hierarchical level in the results file that was opened with ResOpenList. Use ResOpenList to start a new hierarchical level. The Print commands that follow it are indented until you close the level with ResCloseList. When you view the results file, the item sName is initially collapsed, indicated by the [+] icon next to it. You can expand sName to reveal the indented items under it.
 
void ResCloseListDebug ()
 Closes a hierarchical level in the results file that was opened with ResOpenList. Use ResOpenList to start a new hierarchical level. The Print commands that follow it are indented until you close the level with ResCloseList. When you view the results file, the item sName is initially collapsed, indicated by the [+] icon next to it. You can expand sName to reveal the indented items under it.
 
void ResOpenList (string fps_Name)
 Creates a new hierarchical level in the results file. Use ResOpenList to start a new hierarchical level. The Print commands that follow it are indented until you close the level with ResCloseList. When you view the results file, the item sName is initially collapsed, indicated by the [+] icon next to it. You can expand sName to reveal the indented items under it. More...
 
void ResOpenListDebug (string fps_Name)
 Creates a new hierarchical level in the results file. Use ResOpenList to start a new hierarchical level. The Print commands that follow it are indented until you close the level with ResCloseList. When you view the results file, the item sName is initially collapsed, indicated by the [+] icon next to it. You can expand sName to reveal the indented items under it. More...
 

Properties

static Logger Instance [get]
 
bool DebugMode [get, set]
 

Private Attributes

bool cvb_DebugMode = false
 
List< ILoggerLoggerList = new List<ILogger>()
 

Static Private Attributes

static readonly Logger instance = new Logger()
 

Member Function Documentation

void OKW.Log.Logger.LogError ( string  fps_Message)

LogError Function: Logs an error message to the results file.

Parameters
fps_Message
113  {
114  foreach (ILogger myLogger in this.LoggerList)
115  {
116  myLogger.LogError(fps_Message);
117  }
118  }
void OKW.Log.Logger.LogException ( string  fps_Message)

LogException Function: Logs a Script Exception to the results file.

Parameters
fps_Message
126  {
127  foreach (ILogger myLogger in this.LoggerList)
128  {
129  myLogger.LogException(fps_Message);
130  }
131  }
void OKW.Log.Logger.LogPrint ( string  fps_Message)

LogPrint Function: Prints the values of expressions to the results file.

Parameters
fps_Message
358  {
359  foreach (ILogger myLogger in this.LoggerList)
360  {
361  myLogger.LogPrint(fps_Message);
362  }
363  }
void OKW.Log.Logger.LogPrintDebug ( string  fps_Message)

Prints the message >>fps_Message<< of expressions to the results file, if cvb_DebugMode.

Parameters
fps_MessageMessage to Print
370  {
371  if (this.cvb_DebugMode)
372  {
373  foreach (ILogger myLogger in this.LoggerList)
374  {
375  myLogger.LogPrint(fps_Message);
376  }
377  }
378  }
void OKW.Log.Logger.LogWarning ( string  fps_Message)

LogWarning Function: Logs a warning to the results file.

Parameters
fps_Message
394  {
395  foreach (ILogger myLogger in this.LoggerList)
396  {
397  myLogger.LogWarning(fps_Message);
398  }
399  }
void OKW.Log.Logger.ResOpenList ( string  fps_Name)

Creates a new hierarchical level in the results file. Use ResOpenList to start a new hierarchical level. The Print commands that follow it are indented until you close the level with ResCloseList. When you view the results file, the item sName is initially collapsed, indicated by the [+] icon next to it. You can expand sName to reveal the indented items under it.

Parameters
fps_Name
443  {
444  foreach (ILogger myLogger in this.LoggerList)
445  {
446  myLogger.ResOpenList(fps_Name);
447  }
448  }
void OKW.Log.Logger.ResOpenListDebug ( string  fps_Name)

Creates a new hierarchical level in the results file. Use ResOpenList to start a new hierarchical level. The Print commands that follow it are indented until you close the level with ResCloseList. When you view the results file, the item sName is initially collapsed, indicated by the [+] icon next to it. You can expand sName to reveal the indented items under it.

Parameters
fps_Name
459  {
460  if (this.cvb_DebugMode)
461  {
462  foreach (ILogger myLogger in this.LoggerList)
463  {
464  myLogger.ResOpenList(fps_Name);
465  }
466  }
467  }

The documentation for this class was generated from the following file: