code: def _set_logger_level(pkgs, level):
      for pkg in pkgs:
          log = logging.getLogger(pkg)
          log.setLevel(level)
  
imports: import logging
  import logging.config
  import os
  import sys
  from guild import ansi_util
label_desc: Use image node_id 5 for calling a global function with example usage: _set_logger_level(pkgs, level) without return types