#ifdef DEBUG
#define Log(format, ...) NSLog(format, ##__VA_ARGS__)
#else
#define Log(format, ...)
#endif

##__VA_ARGS__ is a special preprocessor directive that lets the preprocessor know that it should fill in the variable arguments there.