code: def error(level, msg, *args, **kwargs):
      if has_verbosity(level):
          logging.error(msg, *args, **kwargs)
          if echo_log_to_stdout:
              _output_to_stdout("ERROR: " + msg, *args, **kwargs)
  
file_path: DALI/dali/python/nvidia/dali/_autograph/utils/ag_logging.py
imports: import os
  import sys
  import traceback
  import logging
  from nvidia.dali._autograph.utils.all_utils import export_symbol
label_desc: Use image node_id 6 for calling a global function with example usage: error(level, msg) without return types