30 void debug(std::string msg, std::string type =
"debug",
bool show =
true);
void clear()
Clear all the contents of the loaded file.
Definition Debug.cpp:70
static std::string filePath
Definition Debug.hpp:10
static std::fstream file
Definition Debug.hpp:13
bool isFileOpen()
Check if the file is open.
Definition Debug.cpp:81
std::string getFilePath()
Get the current file path of the set Debug
Definition Debug.cpp:79
Debug(std::string file)
Debug - Constructor.
Definition Debug.cpp:20
~Debug()
Debug - Deconstructor.
Definition Debug.cpp:34
void debug(std::string msg, std::string type="debug", bool show=true)
Debug with an output in the console and appending it to the previously set file.
Definition Debug.cpp:37