code: async def handle(self, record: LogRecord) -> bool:  # type: ignore
          
          rv = self.filter(record)
          if rv:
              await self.emit(record)
          return rv
docs: Conditionally emit the specified logging record.
          Emission depends on filters which may have been added to the handler.