code: def test_set_logging_mode():
      ivy.set_logging_mode("DEBUG")
      assert logging.getLogger().level == logging.DEBUG
  
      ivy.set_logging_mode("INFO")
      assert logging.getLogger().level == logging.INFO
  
      ivy.set_logging_mode("WARNING")
      assert logging.getLogger().level == logging.WARNING
  
      ivy.set_logging_mode("ERROR")
      assert logging.getLogger().level == logging.ERROR
  
imports: import pytest
  import logging
  import ivy
label_desc: Use image node_id 2 for calling a global function with example usage: test_set_logging_mode() without return types