logger.cpp

logger impl