code: def initialize_logging(config: dict[Any, Any]) -> None:
      base_config = _find_logging_config(config)
      if "logging-file-config" in base_config:
          if "logging" in base_config:
              raise RuntimeError(
                  "Config options 'logging-file-config' and 'logging' are mutually exclusive."
              )
          _initialize_logging_file_config(config)
      else:
          log_config = base_config.get("logging", {})
          if "version" in log_config:
              # logging module mandates version to be an int
              log_config["version"] = int(log_config["version"])
              _initialize_logging_new_style(config)
          else:
              _initialize_logging_old_style(config)
  
file_path: distributed/distributed/config.py
imports: from __future__ import annotations
  import asyncio
  import logging.config
  import os
  import sys
  from collections.abc import Callable
  from typing import Any
  import yaml
  import dask
  from dask.utils import import_required
label_desc: Use image node_id 5 for calling a global function with example usage: initialize_logging(config) without return types