code: def test_it_prepends_ax(self) -> None:
      with self.subTest("ax"):
          logger = get_logger("ax")
          self.assertEqual(logger.name, "ax")
  
      with self.subTest("ax.common"):
          logger = get_logger("ax.common")
          self.assertEqual(logger.name, "ax.common")
  
      with self.subTest("axtremely"):
          logger = get_logger("axtremely")
          self.assertEqual(logger.name, "ax.axtremely")
  
      with self.subTest("botorch"):
          logger = get_logger("botorch")
          self.assertEqual(logger.name, "ax.botorch")
  
      with self.subTest("force_name"):
          logger = get_logger("axtremely", force_name=True)
          self.assertEqual(logger.name, "axtremely")
  
file_path: Ax/ax/utils/common/tests/test_logger.py
imports: import logging
  from tempfile import NamedTemporaryFile
  from unittest.mock import patch
  from ax.utils.common.logger import build_file_handler, get_logger
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 5 for calling the LoggerTest obj's underlying member method code with example usage: obj.test_it_prepends_ax() without return types