theheraldproject / herald-for-cpp

Herald for C++ - Reliable mobile Bluetooth communications - Native library & test apps
https://heraldprox.io
Other
13 stars 10 forks source link

Allow Herald debug level to be set to 0 to compile #53

Closed adamfowleruk closed 3 years ago

adamfowleruk commented 3 years ago

Herald debug mode = 0 should compile out all debug statements and code. Instead it currently errors during compilation with warnings about macros not being defined. Define all logging macros as empty when HERALD logging level = 0 and recompile/retest.

adamfowleruk commented 3 years ago

Fixed in develop and tested.