Code example for Logger

Methods: finer

0
        restUrl += "?f=json";
      } else { 
        restUrl += "&f=json";
      } 
    } 
    LOGGER.finer("Attempting to read ArcGIS Server JSON response for:\n"+restUrl);
     
    HttpClientRequest client = HttpClientRequest.newRequest();
    client.setUrl(restUrl);
    String sResponse = Val.chkStr(client.readResponseAsCharacters());
     
    // attempt to create a JSON object from the response 
    if (sResponse.length() > 0) {
      JSONObject jso = new JSONObject(sResponse);
      this.wasJson = true;
      return jso;
    } 
    return null; 
  } 
     
  /**