First draft of the logger.