Files
wagic/projects/mtg/include/Logger.h
jean.chalard 3e9ff2b580 J :
* Change the name of debug.h into config.h and use the new RESPATH define.
2008-12-25 16:28:03 +00:00

20 lines
223 B
C++

#ifndef _LOGGER_H
#define _LOGGER_H_
#ifdef DOLOG
#define LOG(x) Logger::Log(x);
#else
#define LOG(x)
#endif
#define LOG_FILE RESPATH"/debug.txt"
class Logger{
public:
static void Log(const char * text);
};
#endif