code: def test_logger_name(self):
      local_log = logging.get_logger()
      name_override_log = logging.get_logger("foobar")
  
      self.assertEqual(__name__, log.name)
      self.assertEqual(__name__, self.clazz_log.name)
      self.assertEqual(__name__, local_log.name)
      self.assertEqual("foobar", name_override_log.name)
  
imports: import torch.distributed.elastic.utils.logging
  from torch.testing._internal.common_utils import run_tests, TestCase
label_desc: Use image node_id 2 for calling the LoggingTest obj's underlying member method code with example usage: obj.test_logger_name() without return types