Level H Engine
|
A namespace that contains logging functions for use within the code. More...
Functions | |
void | logI (std::string message) |
Logs the information message, this prints the message to the log file by default. More... | |
void | logE (std::string message) |
Logs the error message, this prints the message to the log file by default. More... | |
void | logMat4 (Mat4 testMat) |
Logs the mat4, this prints the mat4 to the log file by default. More... | |
void | logI (std::string message, bool printToLog) |
Logs the information message. More... | |
void | logE (std::string message, bool printToLog) |
Logs the error message. More... | |
void | logMat4 (Mat4 testMat, bool printToLog) |
Logs the mat4, this prints the mat4 to the log file by default. More... | |
void | printToLogFile (std::string message) |
Prints the message out into the log file. More... | |
std::string | getCurrentDateAndTime () |
Gets the current date and time in the form of a string. More... | |
std::string | boolToString (bool booleanIn) |
Converts a boolean to a string. More... | |
A namespace that contains logging functions for use within the code.
std::string Logging::boolToString | ( | bool | booleanIn | ) |
Converts a boolean to a string.
booleanIn | The boolean to be converted. |
std::string Logging::getCurrentDateAndTime | ( | ) |
Gets the current date and time in the form of a string.
void Logging::logE | ( | std::string | message | ) |
Logs the error message, this prints the message to the log file by default.
message | The message. |
void Logging::logE | ( | std::string | message, |
bool | printToLog | ||
) |
Logs the error message.
message | The message. |
printToLog | A boolean for whether to print to the log. |
void Logging::logI | ( | std::string | message | ) |
Logs the information message, this prints the message to the log file by default.
message | The message. |
void Logging::logI | ( | std::string | message, |
bool | printToLog | ||
) |
Logs the information message.
message | The message. |
printToLog | A boolean for whether to print to the log. |
void Logging::logMat4 | ( | Mat4 | testMat | ) |
Logs the mat4, this prints the mat4 to the log file by default.
matrix | The mat4 to log. |
void Logging::logMat4 | ( | Mat4 | testMat, |
bool | printToLog | ||
) |
Logs the mat4, this prints the mat4 to the log file by default.
matrix | The mat4 to log. |
printToLog | A boolean for whether to print to the log. |
void Logging::printToLogFile | ( | std::string | message | ) |
Prints the message out into the log file.
message | The message. |