separated Requests logic for easier testing

        Args:
            message (str): actual logging string to be passed to REST endpoint

        Todo:
            * Requests.text/json return for better testing options

def send_msg_to_webhook(self, message):
        """separated Requests logic for easier testing

        Args:
            message (str): actual logging string to be passed to REST endpoint

        Todo:
            * Requests.text/json return for better testing options
        """
        payload = {
            'content':message
        }

        header = {
            'Content-Type':'application/json'
        }

        try:
            request = requests.post(
                self.api_url,
                headers=header,
                json=payload
            )
            request.raise_for_status()
        except Exception as error_msg:  #pragma: no cover
            warning_msg = (
                'EXCEPTION: UNABLE TO COMMIT LOG MESSAGE' +
                '\n\texception={0}'.format(repr(error_msg)) +
                '\n\tmessage={0}'.format(message)
            )
            warnings.warn(
                warning_msg,
                exceptions.WebhookFailedEmitWarning
            )