class_docstr: Insert PDF page number that emitted log message to log record.
code: def filter(self, record):
      pageno = getattr(record, "pageno", None)
      if isinstance(pageno, int):
          record.pageno = f"{pageno:5d} "
      elif pageno is None:
          record.pageno = ""
      return True
  
file_path: OCRmyPDF/src/ocrmypdf/_logging.py
imports: from __future__ import annotations
  import logging
  from rich.console import Console
  from rich.logging import RichHandler
label_desc: Use image node_id 1 for calling the PageNumberFilter obj's underlying member method code with example usage: obj.filter(record) and returns: True