Fix GCC compilation issue in include/logging/logging.hpp