Implemented LoggerInterface in Log class.