@Override public void logClientDeploy(boolean success, String... args) { try { String yaml = maker.make(getCurrentTimeUsec(), success); logger.log(Level.FINE, "client deploy yaml={0}", yaml); send("/api/logclientdeploy", yaml, args); } catch (Exception e) { logger.log(Level.WARNING, "Error logging client deployment, continuing", e); } }
private void registerHttpRequestForLogging( String url, int httpResponseCode, long startTimeUsec, long requestLengthBytes) { maker.addRequest( url, httpResponseCode, startTimeUsec, getCurrentTimeUsec(), requestLengthBytes); }
@Override public String getSdkVersion() { return maker.getSdkVersion(); }
@Override public void setRuntime(String runtime) { maker.setRuntime(runtime); }
@Override public String getRuntime() { return maker.getRuntime(); }