mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Add LOG and DLOG macros
In the future, PRINTF() should be replace with LOG()
This commit is contained in:
parent
f9069cb83f
commit
5b05c23722
@ -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, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user