Cleaned up log.hpp