parameters: (use_debug=False)
docstring: Configure the logging mechanism.
  
      Args:
          use_debug (bool) Whether to configure debug-level logging.
docstring_summary: Configure the logging mechanism.
docstring_tokens: Configure the logging mechanism .
function: def configure_logging(use_debug=False):
      ''' Configure the logging mechanism.
  
      Args:
          use_debug (bool) Whether to configure debug-level logging.
      '''
      log_format = '%(levelname)s: %(message)s'
      if use_debug:
          logging.basicConfig(format=log_format, level=logging.DEBUG)
      else:
          logging.basicConfig(format=log_format, level=logging.INFO)
function_tokens: def configure_logging ( use_debug = False ) : log_format = '%(levelname)s: %(message)s' if use_debug : logging . basicConfig ( format = log_format , level = logging . DEBUG ) else : logging . basicConfig ( format = log_format , level = logging . INFO )