class_docstr: Logger Unittest class.
class_docstr_tok: ["Logger","Unittest","class","."]
docstr: Test streamlit.logger.set_log_level.
docstr_tok: ["Test","streamlit.logger.set_log_level","."]
code: def test_set_log_level_by_constant(self):
      """Test streamlit.logger.set_log_level."""
      data = [
          logging.CRITICAL,
          logging.ERROR,
          logging.WARNING,
          logging.INFO,
          logging.DEBUG,
      ]
      for k in data:
          logger.set_log_level(k)
          self.assertEqual(
              k, logging.getLogger("streamlit").getEffectiveLevel()
          )
  
file_path: streamlit/lib/tests/streamlit/logger_test.py
imports: import logging
  import unittest
  from collections import OrderedDict
  from unittest.mock import patch
  import pytest
  from parameterized import parameterized
  from streamlit import config, logger
label_desc: Use image node_id 1 for calling the LoggerTest obj's underlying member method code with example usage: obj.test_set_log_level_by_constant() without return types