コード例 #1
0
 @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);
   }
 }
コード例 #2
0
 private void registerHttpRequestForLogging(
     String url, int httpResponseCode, long startTimeUsec, long requestLengthBytes) {
   maker.addRequest(
       url, httpResponseCode, startTimeUsec, getCurrentTimeUsec(), requestLengthBytes);
 }
コード例 #3
0
 @Override
 public String getSdkVersion() {
   return maker.getSdkVersion();
 }
コード例 #4
0
 @Override
 public void setRuntime(String runtime) {
   maker.setRuntime(runtime);
 }
コード例 #5
0
 @Override
 public String getRuntime() {
   return maker.getRuntime();
 }