code: def log_location(msg):
      from snakemake.logging import logger
  
      callerframerecord = inspect.stack()[1]
      frame = callerframerecord[0]
      info = inspect.getframeinfo(frame)
      logger.debug(
          "{}: {info.filename}, {info.function}, {info.lineno}".format(
              msg, info=info
          )
      )
  
imports: import contextlib
  import itertools
  import math
  import operator
  import platform
  import hashlib
  import inspect
  import sys
  import uuid
  import os
  import asyncio
  import collections
  from pathlib import Path
  from snakemake._version import get_versions
  from snakemake_interface_common.exceptions import WorkflowError
label_desc: Use image node_id 17 for calling a global function with example usage: log_location(msg) without return types