def METHOD_NAME(self, timestamp, records):
    if self.transmitter:
        return self.transmitter(timestamp, records)
    else:
        count = len(records)
        logger.warning(f"No querylog transmitter configured, {count} records dropped")