async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def emit(self, record):
        msg = self.format(record)
        self._queue.put_nowait(msg)