Added basic logger.