class_docstr: Provides threadsafe utilities to modify warning behavior for MLflow autologging, including:
  
  - Global disablement of MLflow warnings across all threads
  - Global rerouting of MLflow warnings to an MLflow event logger (i.e. `logger.warning()`)
    across all threads
  - Disablement of non-MLflow warnings for the current thread
  - Rerouting of non-MLflow warnings to an MLflow event logger for the current thread
code: def __init__(self):
      self._mlflow_root_path = Path(
          os.path.dirname(mlflow.__file__)
      ).resolve()
      self._state_lock = RLock()
  
      self._did_patch_showwarning = False
      self._original_showwarning = None
  
      self._disabled_threads = set()
      self._rerouted_threads = set()
      self._mlflow_warnings_disabled_globally = False
      self._mlflow_warnings_rerouted_to_event_logs = False
  
imports: import os
  import warnings
  from contextlib import contextmanager
  from pathlib import Path
  from threading import RLock
  from threading import get_ident
  import mlflow
  from mlflow.utils import logging_utils
label_desc: Use image node_id 1 to create a new _WarningsController object  with example: obj = _WarningsController()