def _notify(self, log_level, message):
        """
        Calls the callback function and logs messages using the PySDK logger
        :param log_level: An integer representing the log level, as specified
                          in the Python `logging` library
        :param message:   The actual message to be sent to the logger and the
                          `callback` function
        """
        timestamp = datetime.datetime.utcnow()
        logger.log(log_level, str(message))
        try:
            self._callback(log_level, message, timestamp)
        except Exception as ex:
            logger.warning(consts.LOG_MSG_CALLBACK_FAILURE % str(ex))