finished logger.cpp/h