async def corofunc():
            nonlocal called
            called += 1
            raise ValueError("yeah async")
def emit(self, record):
        msg = self.format(record)
        self._queue.put_nowait(msg)