code: def set_level(level: int):
      """Set logging threshold on current logger."""
      global min_level
      min_level = level
  
file_path: gym/gym/logger.py
imports: import sys
  import warnings
  from typing import Optional, Type
  from gym.utils import colorize
label_desc: Use image node_id 1 for calling a global function with example usage: set_level(level) without return types