Similar to sparkfun/SparkFun_SCD4x_Arduino_Library#3 I'm still working on reducing code size for ESPEasy ๐
So in that same line, I'm proposing to add a similar compiler flag for reducing the bin size.
//Enable/disable including debug log (to allow saving some space)
#ifndef MAX1704X_ENABLE_DEBUGLOG
  #if defined(LIBRARIES_NO_LOG) && LIBRARIES_NO_LOG
    #define MAX1704X_ENABLE_DEBUGLOG 0 // OFF/disabled/excluded on demand
  #else
    #define MAX1704X_ENABLE_DEBUGLOG 1 // ON/enabled/included by default
  #endif
#endif 
I'll open a PR to get that included.