I have logging statements which log to the serial port but I want to be able to switch them off, both globally, given a log level, and on a per file basis given a definition of a macro, (DEBUG_FILE)C99 would allow you to use something like:
#define ..