class_docstr: Test class for logging utility tests.
class_docstr_tok: ["Test","class","for","logging","utility","tests","."]
code: def test_get_skll_logger(self):
      temp_file = NamedTemporaryFile("w", delete=False)
      temp_file.close()
      TEMP_FILES.append(temp_file)
      TEMP_FILE_PATHS.append(temp_file.name)
      logger = get_skll_logger(
          "test_get_skll_logger", filepath=temp_file.name
      )
      LOGGERS.append(logger)
  
      # Send a regular log message
      msg1 = "message 1"
      logger.info(msg1)
  
      # Send a regular log message
      msg2 = "message 2"
      logger.info(msg2)
  
      with open(temp_file.name) as tempfh:
          log_lines = tempfh.readlines()
          assert log_lines[0].endswith(f"INFO - {msg1}\n")
          assert log_lines[1].endswith(f"INFO - {msg2}\n")
  
      close_and_remove_logger_handlers(logger)
  
file_path: skll/tests/test_logging_utils.py
imports: import re
  import sys
  import unittest
  import warnings
  from tempfile import NamedTemporaryFile
  from six import StringIO
  from sklearn.metrics import roc_curve
  from skll.utils.logging import close_and_remove_logger_handlers, get_skll_logger, orig_showwarning
  from skll.utils.testing import unlink
label_desc: Use image node_id 5 for calling the TestLoggingUtils obj's underlying member method code with example usage: obj.test_get_skll_logger() without return types