1) The plugin code is built with NDEBUG defined;
2) logger.hpp: compilation errors raised when NDEBUG is defined are fixed.