Method | Description | |
---|---|---|
DebugOutput ( int P_msgLevel ) : bool |
Since the WriteLineIf and WriteIf needs a boolean flag to know to output line, this method will calculate that boolean flag. This method will have to be called for all log output.
|
|
Log ( int P_msgLevel, string P_msg ) : void |
This method will log all messages to the Trace Log. This will be done by calling the WriteLine, or WriteLineIf and then doing the flush to ensure all data is going to the log. If a value of 0 is passed in then the message will always be logged.
|
public static DebugOutput ( int P_msgLevel ) : bool | ||
P_msgLevel | int | /// Current message level /// |
return | bool |
public static Log ( int P_msgLevel, string P_msg ) : void | ||
P_msgLevel | int | /// Message level of the message /// |
P_msg | string | /// Message to output if debug level is correct /// |
return | void |