Files
wagic/projects/mtg/include/Logger.h
wagic.the.homebrew@gmail.com 755bb04475 Erwan
- updated pt translation (thanks to almosthumane)
- Added/updated some Themes by Ilya B
- Added a random wallpaper loading at loading screen (see wallpapers.txt in Res/graphics)
- Saving decks and collection should now be a bit more secure (attempt at minimizing issue 393)
2010-05-02 12:49:36 +00:00

20 lines
303 B
C++

#ifndef _LOGGER_H
#define _LOGGER_H_
//TODO Remove this and use the jge logging facility (same system)
//#define DOLOG
#ifdef DOLOG
#define LOG_FILE RESPATH"/debug.txt"
class Logger{
public:
static void Log(const char * text);
};
#define LOG(x) Logger::Log(x);
#else
#define LOG(x)
#endif
#endif