code: def setup_logging(args):
      
      loglevel = logging.WARNING
      if args.verbose:
          loglevel = logging.INFO
      if args.debug:
          loglevel = logging.DEBUG
  
      console = logging.StreamHandler()
      logging.getLogger('').setLevel(loglevel)
      console.setFormatter(logging.Formatter(LOG_FORMAT))
      logging.getLogger('').addHandler(console)
docs: Sets up basic logging
  
      :param args: ArgParse arguments
      :return: nothing. sets logger up globally