Moved logging to logging.hpp