code: def log_msg(renderer, message, level, instant):
      global fail_message
      if message.startswith("Failed"):
          fail_message = message
  
imports: from pylab import *
  import inspect
  import os
  import time
  import vray
  import path_utils
  import _system_config
label_desc: Use image node_id 1 for calling a global function with example usage: log_msg(renderer, message, level, instant) without return types