code: def add_logging_options(parser: argparse.ArgumentParser) -> None:
      """Add options to an argument parser to configure logging levels."""
      logging_arguments = parser.add_argument_group(
          "Python Logging Options",
          "You can control level of log messages printed. "
          "In addition to these arguments, a more fine grained configuration can be "
          "achieved with environment variables. See online documentation for more info.",
      )
  
      # arguments for logging configuration
      logging_arguments.add_argument(
          "-v",
          "--verbose",
          help="Be verbose. Sets logging level to INFO.",
          action="store_const",
          dest="loglevel",
          const=logging.INFO,
      )
      logging_arguments.add_argument(
          "-vv",
          "--debug",
          help="Print lots of debugging statements. Sets logging level to DEBUG.",
          action="store_const",
          dest="loglevel",
          const=logging.DEBUG,
      )
      logging_arguments.add_argument(
          "--quiet",
          help="Be quiet! Sets logging level to WARNING.",
          action="store_const",
          dest="loglevel",
          const=logging.WARNING,
      )
  
      logging_arguments.add_argument(
          "--logging-config-file",
          type=str,
          help="If set, the name of the logging configuration file will be set "
          "to the given name.",
      )
  
file_path: rasa/rasa/cli/arguments/default_arguments.py
imports: import argparse
  import logging
  from typing import Text, Union, Optional
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_MODELS_PATH, DEFAULT_DATA_PATH, DEFAULT_ENDPOINTS_PATH
label_desc: Use image node_id 9 for calling a global function with example usage: add_logging_options(parser) without return types