-missing files (JLogger)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-04-26 22:47:46 +00:00
parent a3cbbedd3c
commit b0e92d68a8
2 changed files with 44 additions and 0 deletions

19
JGE/include/JLogger.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef _JLOGGER_H_
#define _JLOGGER_H_
//logging facility
//#define DOJLOG
#ifdef DOJLOG
#define JLOG(x) JLogger::Log(x);
#else
#define JLOG(x) {};
#endif
#define JGE_LOG_FILE "jge_debug.txt"
class JLogger{
public:
static void Log(const char * text);
};
#endif