Add LOG and DLOG macros

In the future, PRINTF() should be replace with LOG()
This commit is contained in:
David Capello 2015-08-13 20:58:36 -03:00
parent f9069cb83f
commit 5b05c23722

View File

@ -35,6 +35,12 @@
#define COPYRIGHT "Copyright (C) 2001-2015 David Capello"
#define PRINTF verbose_printf
#define LOG PRINTF
#ifdef _DEBUG
#define DLOG PRINTF
#else
#define DLOG(...)
#endif
// verbose_printf is defined in src/app/log.cpp and used through PRINTF macro
void verbose_printf(const char* format, ...);