'Emit a record.  Do this over the driver\'s normal pipe.'

def emit(self, record):

    try:
        if (record.levelno < logging.WARNING):
            return
        self._driver.send(request=None, command='report-message', type='logging', name=record.name, message=self.format(record), level=record.levelno)
    except (KeyboardInterrupt, SystemExit):
        raise
    except:
        self.handleError(record)
