text: import argparse
  import logging
  
  class colors:
      HEADER = '\033[95m'
      OKBLUE = '\033[94m'
      OKGREEN = '\033[92m'
      WARNING = '\033[93m'
      FAIL = '\033[91m'
      ENDC = '\033[0m'
      BOLD = '\033[1m'
      UNDERLINE = '\033[4m'
  
  LOG_FORMAT = "[%(asctime)s | %(levelname)s]: %(message)s"
  
  def setupLogging():
      logging.basicConfig(format=LOG_FORMAT, level=logging.DEBUG)
  
  def parseArguments():
      parser = argparse.ArgumentParser(
          description='Basic echo server implementation')
      parser.add_argument('--host', type=str, default='localhost',
                          help='Host', dest='host')
      parser.add_argument('-P', '--port', type=int, default=5000,
                          help='Port', dest='port')
  
      args = parser.parse_args()
      host = args.host
      port = args.port
  
      return host, port
  