code: def message(position, message, level=1):
      if level < LEVEL:
          return
      warn = CompileWarning(position, message)
      line = "note: %s\n" % warn
      if listing_file:
          listing_file.write(line)
      if echo_file:
          echo_file.write(line)
      return warn
  
imports: from __future__ import absolute_import
  import sys
  from contextlib import contextmanager
  from ..Utils import open_new_file
  from .None import DebugFlags
  from .None import Options
label_desc: Use image node_id 8 for calling a global function with example usage: message(position, message, level) and returns: warn