GCP Assignment 1
Namespaces | Functions
Logging.h File Reference
#include <string>
#include <SDL.h>
#include <fstream>
#include <time.h>
#include "../Maths/Mat4.h"
Include dependency graph for Logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Core
 The namespace for all core code.
 
 Core::Logging
 A namespace that contains logging functions for use within the code.
 

Functions

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