Level H Engine
Namespaces | Functions
Logging.cpp File Reference
#include "Logging.h"
#include <SDL.h>
#include <fstream>
#include <time.h>
Include dependency graph for Logging.cpp:

Namespaces

 Logging
 A namespace that contains logging functions for use within the code.
 

Functions

void Logging::logI (std::string message)
 Logs the information message, this prints the message to the log file by default. More...
 
void Logging::logE (std::string message)
 Logs the error message, this prints the message to the log file by default. More...
 
void Logging::logMat4 (Mat4 testMat)
 Logs the mat4, this prints the mat4 to the log file by default. More...
 
void Logging::logI (std::string message, bool printToLog)
 Logs the information message. More...
 
void Logging::logE (std::string message, bool printToLog)
 Logs the error message. More...
 
void Logging::logMat4 (Mat4 testMat, bool printToLog)
 Logs the mat4, this prints the mat4 to the log file by default. More...
 
void Logging::printToLogFile (std::string message)
 Prints the message out into the log file. More...
 
std::string Logging::getCurrentDateAndTime ()
 Gets the current date and time in the form of a string. More...
 
std::string Logging::boolToString (bool booleanIn)
 Converts a boolean to a string. More...