code: def disable_root_logger():
      try:
          logging.getLogger().setLevel(logging.ERROR)
          yield
      finally:
          logging.getLogger().setLevel(logging.INFO)
  
file_path: autogluon/timeseries/src/autogluon/timeseries/utils/warning_filters.py
imports: import contextlib
  import functools
  import io
  import logging
  import os
  import sys
  import warnings
  from statsmodels.tools.sm_exceptions import ConvergenceWarning, ValueWarning
label_desc: Use image node_id 2 for calling a global function with example usage: disable_root_logger() without return types