def METHOD_NAME(self, record: Any) -> None:
    rec = json.dumps(record.__dict__, sort_keys=True)
    LOGGER.info('Writing record: %s', rec)
    self.dest_file_obj.write(f'{rec}\n')
    self.dest_file_obj.flush()