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

Public Member Functions

 Log2HTMLFile (string PathAndFile)
 
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 ()
 
void LogFunctionEnd (string fps_Return)
 
void LogFunctionEnd (bool fpb_Return)
 
void LogFunctionEnd (List< string > fpls_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 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 LogVerify (string fps_Actual, string fps_Expected)
 
void LogWarning (string fps_Message)
 LogWarning Function: Logs a warning to the results file. More...
 
void ResCloseList ()
 
void ResOpenList (string fps_Name)
 

Private Member Functions

void BlankBefore ()
 
void FileClose ()
 
void FileOpen ()
 
void WriteBlockClose ()
 
void WriteBlockOpen (string fpsWert, string fpsHTMLClass)
 
void WriteHTMLFooter ()
 
void WriteHTMLHeader ()
 

Private Attributes

string BlanksBefore = string.Empty
 
int ID = 1
 
int LevelCounter = 0
 
StreamWriter myFile
 
int myFileCounter = 0
 
string myPathAndFile
 

Member Function Documentation

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

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

89  {
90  this.FileOpen();
91 
92  this.WriteBlockOpen("Error", "Error");
93  this.LevelCounter++;
94  this.BlankBefore();
95 
96  this.LogPrint(fps_Message);
97 
98  this.LevelCounter--;
99  this.BlankBefore();
100 
101  this.WriteBlockClose();
102  this.FileClose();
103  }
void OKW.Log.Log2HTMLFile.LogException ( string  fps_Message)

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

111  {
112  this.FileOpen();
113 
114  this.WriteBlockOpen("Exception", "Exception");
115  this.LevelCounter++;
116  this.BlankBefore();
117 
118  this.LogPrint(fps_Message);
119 
120  this.LevelCounter--;
121  this.BlankBefore();
122 
123  this.WriteBlockClose();
124  this.FileClose();
125  }
void OKW.Log.Log2HTMLFile.LogPrint ( string  fps_Message)

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

297  {
298  this.FileOpen();
299 
300  this.myFile.WriteLine(this.BlanksBefore + "<p>");
301  this.myFile.WriteLine(this.BlanksBefore + fps_Message);
302  this.myFile.WriteLine(this.BlanksBefore + "</p>");
303 
304  this.FileClose();
305  }
void OKW.Log.Log2HTMLFile.LogWarning ( string  fps_Message)

LogWarning Function: Logs a warning to the results file.

Parameters
fps_Message

Implements OKW.Log.ILogger.

342  {
343  this.FileOpen();
344 
345  this.WriteBlockOpen("Warning", "Warning");
346  this.LevelCounter++;
347  this.BlankBefore();
348 
349  this.LogPrint(fps_Message);
350 
351  this.LevelCounter--;
352  this.BlankBefore();
353 
354  this.WriteBlockClose();
355  this.FileClose();
356  }

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