code: def _cleanlogs(silent=False, log_location="log"):
      
      try:
          print("cleaning up Icetea log directory.")
          shutil.rmtree(log_location, ignore_errors=silent,
                        onerror=None if silent else _clean_onerror)
      except OSError as error:
          print(error)
docs: Cleans up Mbed-test default log directory.
  
      :param silent: Defaults to False
      :param log_location: Location of log files, defaults to "log"
      :return: Nothing