finished logger.h/cpp