code: def _print_loggers():
      """Print a formatted list of loggers and their handlers for debugging."""
      loggers = {logging.root.name: logging.root}
      loggers.update(
          dict(sorted(logging.root.manager.loggerDict.items()))
      )
      for name, logger in loggers.items():
          if isinstance(logger, logging.Logger):
              print(
                  f"  {name}: disabled={logger.disabled}, propagate={logger.propagate}"
              )
              for handler in logger.handlers:
                  print(f"    {handler}")
  
file_path: ray/python/ray/_private/log.py
imports: import logging
  import re
  from logging.config import dictConfig
  import threading
  from typing import Union
label_desc: Use image node_id 1 for calling a global function with example usage: _print_loggers() without return types