Implemented my own logger.