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

Public Member Functions

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

Private Attributes

string BlanksBefore = string.Empty
 
int LevelCounter = 0
 

Member Function Documentation

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

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

67  {
68  Console.ForegroundColor = ConsoleColor.Red;
69  Console.Write(this.BlanksBefore + "Error: ");
70  Console.ResetColor();
71  Console.WriteLine(fps_Message);
72  }
void OKW.Log.Log2Console.LogException ( string  fps_Message)

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

80  {
81  Console.ForegroundColor = ConsoleColor.Magenta;
82  Console.Write(this.BlanksBefore + "Exception: ");
83  Console.ResetColor();
84  Console.WriteLine(fps_Message);
85  }
void OKW.Log.Log2Console.LogPrint ( string  fps_Message)

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

Parameters
fps_Message

Implements OKW.Log.ILogger.

215  {
216  Console.ResetColor();
217  Console.WriteLine(this.BlanksBefore + fps_Message);
218  }
void OKW.Log.Log2Console.LogWarning ( string  fps_Message)

LogWarning Function: Logs a warning to the results file.

Parameters
fps_Message

Implements OKW.Log.ILogger.

243  {
244  Console.ForegroundColor = ConsoleColor.Yellow;
245  Console.Write(this.BlanksBefore + "Warning: ");
246  Console.ResetColor();
247  Console.WriteLine(fps_Message);
248  }

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