code: def set_threshold(level):
      orig = _global_log.level
      _global_log.setLevel(level)
      return orig
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/_distutils/log.py
imports: import logging
  import warnings
  from ._log import log
label_desc: Use image node_id 1 for calling a global function with example usage: set_threshold(level) and returns: orig