code: def log(text, caller=0):
      """
      Writes `text` to stdout with prefix showing caller path relative to
      pymupdf_dir and fn name.
      """
      frame_record = inspect.stack(context=0)[caller + 1]
      filename = frame_record.filename
      line = frame_record.lineno
      function = frame_record.function
      prefix = f"{relpath(filename, pymupdf_dir)}:{function}(): "
      print(textwrap.indent(text, prefix))
      sys.stdout.flush()
  
file_path: pymudf/scripts/gh_release.py
imports: import glob
  import inspect
  import os
  import platform
  import shlex
  import subprocess
  import sys
  import textwrap
label_desc: Use image node_id 8 for calling a global function with example usage: log(text, caller) without return types