Added draft version of logger.