Level H Engine
Logging.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include "../Maths/Mat4.h"
5 
9 namespace Logging
10 {
11 
16  void logI(std::string message);
17 
22  void logE(std::string message);
23 
28  void logMat4(Mat4 testMat);
29 
35  void logI(std::string message, bool printToLog);
36 
42  void logE(std::string message, bool printToLog);
43 
49  void logMat4(Mat4 testMat, bool printToLog);
50 
55  void printToLogFile(std::string message);
56 
61  std::string getCurrentDateAndTime();
62 
68  std::string boolToString(bool booleanIn);
69 
70 }
void logI(std::string message)
Logs the information message, this prints the message to the log file by default. ...
Definition: Logging.cpp:10
std::string boolToString(bool booleanIn)
Converts a boolean to a string.
Definition: Logging.cpp:96
void logMat4(Mat4 testMat)
Logs the mat4, this prints the mat4 to the log file by default.
Definition: Logging.cpp:20
A namespace that contains logging functions for use within the code.
Definition: Logging.cpp:7
void printToLogFile(std::string message)
Prints the message out into the log file.
Definition: Logging.cpp:63
std::string getCurrentDateAndTime()
Gets the current date and time in the form of a string.
Definition: Logging.cpp:84
void logE(std::string message)
Logs the error message, this prints the message to the log file by default.
Definition: Logging.cpp:15
Contains the Mat4 structure with functions and overloaded operators. This is row major.
Definition: Mat4.h:9