Emit record after checking if message triggers later sending of e-mail.

def emit(self, record):
        """Emit record after checking if message triggers later sending of e-mail."""
        if self.triggerLevelNo is not None and record.levelno>=self.triggerLevelNo:
            self.triggered = True
        logging.handlers.BufferingHandler.emit(self,record)