async def emit(self, record: LogRecord):  
try:<EOL><INDENT>if self.should_rollover(record):<EOL><INDENT>async with self._rollover_lock:<EOL><INDENT>if self.should_rollover(record):<EOL><INDENT>await self.do_rollover()<EOL><DEDENT><DEDENT><DEDENT>await super().emit(record)<EOL><DEDENT>except Exception as e:<EOL><INDENT>await self.handleError(record)<EOL><DEDENT>
Emit a record.

Output the record to the file, catering for rollover as described
in `do_rollover`.