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
docstr: Enables (or disables) rerouting of MLflow warnings to an MLflow event logger with level
  WARNING (e.g. `logger.warning()`) globally across all threads.
  
  Args:
      rerouted: If `True`, enables MLflow warning rerouting globally across all threads.
                If `False`, disables MLflow warning rerouting globally across all threads.
docstr_tok: ["Enables","(","or","disables",")","rerouting","of","MLflow","warnings","to","an","MLflow","event","logger","with","level","WARNING","(","e.g",".","`","logger.warning","(",")","`",")","globally","across","all","threads",".","Args",":","rerouted",":","If","`","True","`",",","enables","MLflow","warning","rerouting","globally","across","all","threads",".","If","`","False","`",",","disables","MLflow","warning","rerouting","globally","across","all","threads","."]
code: def set_mlflow_warnings_rerouting_state_globally(self, rerouted=True):
      """
      Enables (or disables) rerouting of MLflow warnings to an MLflow event logger with level
      WARNING (e.g. `logger.warning()`) globally across all threads.
  
      Args:
          rerouted: If `True`, enables MLflow warning rerouting globally across all threads.
                    If `False`, disables MLflow warning rerouting globally across all threads.
      """
      with self._state_lock:
          self._mlflow_warnings_rerouted_to_event_logs = rerouted
          self._modify_patch_state_if_necessary()
  
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 6 for calling the _WarningsController obj's underlying member method code with example usage: obj.set_mlflow_warnings_rerouting_state_globally(rerouted) without return types