code: def test_logging_switcher(self):
      class A(Verbose):
          def callme(self):
              self.logs.message("TEST", "output")
  
      with catch_stdout() as out:
          a = A(verbose=True)
          a.callme()
          terminal_output = out.getvalue()
  
          self.assertIn("TEST", terminal_output)
          self.assertIn("output", terminal_output)
  
      a.verbose = False
      with catch_stdout() as out:
          a.callme()
          terminal_output = out.getvalue()
  
          self.assertNotIn("TEST", terminal_output)
          self.assertNotIn("output", terminal_output)
  
file_path: neupy/tests/core/test_logging.py
imports: from __future__ import unicode_literals
  from collections import namedtuple
  from neupy.core import logs
  from neupy.core.logs import Verbose, TerminalLogger
  from base import BaseTestCase
  from helpers import catch_stdout
label_desc: Use image node_id 2 for calling the LoggingTestCase obj's underlying member method code with example usage: obj.test_logging_switcher() without return types