code: def log(self, typ, args):
      if is_stringish(args):
          s = args
      else:
          s = " ".join(args)
      lineno = inspect.currentframe().f_back.f_lineno
      filename = inspect.stack()[1][1]
      print(
          "debug[%s %s:%s]: %s" % (typ, filename, lineno, s),
          file=sys.stderr,
      )
  
file_path: metaflow/metaflow/debug.py
imports: from __future__ import print_function
  import inspect
  import sys
  from functools import partial
  from .util import is_stringish
label_desc: Use image node_id 2 for calling the Debug obj's underlying member method code with example usage: obj.log(typ, args) without return types