Emits the signal for this record through the dispatch
        element.
        
        :param      record | <logging.LogRecord>

def emit(self, record):
        """
        Emits the signal for this record through the dispatch
        element.
        
        :param      record | <logging.LogRecord>
        """
        disp = self.dispatch()
        if disp is None:
            return
        
        msg = self.format(record)
        
        # emit the dispatch signals
        disp.recordLogged.emit(record)
        disp.messageLogged.emit(record.levelno, msg)
        
        if record.levelno == logging.DEBUG:
            disp.debugLogged.emit(msg)
        elif record.levelno == logging.INFO:
            disp.infoLogged.emit(msg)
        elif record.levelno == logging.WARN:
            disp.warningLogged.emit(msg)
        elif record.levelno == logging.ERROR:
            disp.errorLogged.emit(msg)
        elif record.levelno == logging.CRITICAL:
            disp.criticalLogged.emit(msg)