Examples of logAsFile()


Examples of eu.planets_project.ifr.core.wee.api.ReportingLog.logAsFile()

  public static void createLogReferences(WorkflowTemplate processingTemplate){
 
    ReportingLog repLog = processingTemplate.getWorkflowReportingLogger();
      /* Now write the stuff to disk: */
    repLog.reportAsFile();
      File logFile = repLog.logAsFile();
      System.out.println("Wrote logFile to: " + logFile.getAbsolutePath());
      /* And return a result object: */
      try {
        URI outFolder = new URI("http",WorkflowTemplateHelper.getHostAuthority(),"/wee-gen/id-"+repLog.getResultsId(),null,null);
        URL logFileURL = new URL(outFolder+"/wf-log.txt");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.