code: def set_nlu_logger(level=logging.INFO):
      logger = logging.getLogger(snips_nlu.__name__)
      logger.setLevel(level)
  
      formatter = logging.Formatter(FMT, DATE_FMT)
  
      handler = logging.StreamHandler(sys.stdout)
      handler.setFormatter(formatter)
      handler.setLevel(level)
  
      logger.addHandler(handler)
  
file_path: snips-nlu/snips_nlu/cli/utils.py
imports: from __future__ import print_function, unicode_literals
  import logging
  import os
  import subprocess
  import sys
  from enum import Enum, unique
  import requests
  import snips_nlu
  from snips_nlu import __about__
  from snips_nlu.common.utils import parse_version
label_desc: Use image node_id 8 for calling a global function with example usage: set_nlu_logger(level) without return types