logger.h/cpp unfinished