'Log the specified logging record.
:param logging.LogRecord record: Record to be formatted'

def emit(self, record):

    self._delete = False
    if (sys.version_info < (2, 7)):
        logging.StreamHandler.emit(self, record)
    else:
        super(TempHandler, self).emit(record)
