I am using the HTTPCLIENT Library with a Redbear Duo. I would like to activate the logging function available via #ifdef in the library. I have included a #define LOGGING statement in in my code but the compiler never includes the LOGGING feature. I have tried with and without #pragma SPARK_NO_PREPROCESSOR and I have tried on a Photon as well to no avail. The serial LOGGING messages are not forthcoming and the size of my compiled program doesn’t change either. I am using the Web IDE.
Previous forum messages seem to suggest this should be a simple thing to do but obviously I have found a unique way to make this fail.
My serial is working as I am getting my usual messages. I am using USB serial, not serial1, at 115200 if this makes a difference.
Thanks in advance for your help,