NullSerial: reducing production code size

I do something a bit similar with the preprocessor:

#define DEBUG

#ifdef DEBUG
#define DEBUG_PRINT(x) Serial.println(x)
#else
#define DEBUG_PRINT(x)
#endif

void setup()
{
   DEBUG_PRINT("here we go!");
}
...

When finished debugging, comment out the #define DEBUG.

-j