def log(self, message, result_code, log_message = ''):
        
        message_log = self.create(
            to_address = message.to_address,
            from_address = message.from_address,
            subject = message.subject,
            message_body = message.message_body,
            when_added = message.when_added,
            priority = message.priority,
            # @@@ other fields from Message
            result = result_code,
            log_message = log_message,
        )
        message_log.save()
create a log entry for an attempt to send the given message and
dataset/ETHPy150Open brosner/django-mailer/mailer/models.py/MessageLogManager.log