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

Public Member Functions

 Log2ConsoleFile (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 ()
 

Private Attributes

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

Member Function Documentation

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

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

81  {
82  this.FileOpen();
83 
84  this.myFile.Write(this.BlanksBefore + "Error: ");
85  this.myFile.WriteLine(fps_Message);
86 
87  this.FileClose();
88  }
void OKW.Log.Log2ConsoleFile.LogException ( string  fps_Message)

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

96  {
97  this.FileOpen();
98 
99  this.myFile.Write(this.BlanksBefore + "Exception: ");
100  this.myFile.WriteLine(fps_Message);
101 
102  this.FileClose();
103  }
void OKW.Log.Log2ConsoleFile.LogPrint ( string  fps_Message)

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

264  {
265  this.FileOpen();
266 
267  this.myFile.WriteLine(this.BlanksBefore + fps_Message);
268 
269  this.FileClose();
270  }
void OKW.Log.Log2ConsoleFile.LogWarning ( string  fps_Message)

LogWarning Function: Logs a warning to the results file.

Parameters
fps_Message

Implements OKW.Log.ILogger.

299  {
300  this.FileOpen();
301 
302  this.myFile.Write(this.BlanksBefore + "Warning: ");
303  this.myFile.WriteLine(fps_Message);
304 
305  this.FileClose();
306  }

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