def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def emit(self, record):
        msg = self.format(record)
        self._queue.put_nowait(msg)