Package org.cloudfoundry.ide.eclipse.server.core.internal.log

Examples of org.cloudfoundry.ide.eclipse.server.core.internal.log.CloudLog


        contentType = APPLICATION_LOG_STD_OUT;
        break;
      }
    }

    return new CloudLog(format(appLog.getMessage()), contentType);

  }
View Full Code Here


      return;
    }

    // Convert it to a CloudLog that contains the appropriate log content
    // type
    CloudLog log = getCloudlog(appLog);
    IOConsoleOutputStream activeOutStream = getOutputStream(log.getLogType());

    if (activeOutStream != null && log.getMessage() != null) {
      try {
        activeOutStream.write(log.getMessage());
      }
      catch (IOException e) {
        throw CloudErrorUtil.toCoreException(e);
      }
    }
View Full Code Here

    writeToStream(message, StandardLogContentType.STD_OUT);
  }

  protected synchronized void writeToStream(String message, LogContentType type) {
    if (message != null) {
      writeToStream(new CloudLog(message, type));
    }
  }
View Full Code Here

TOP

Related Classes of org.cloudfoundry.ide.eclipse.server.core.internal.log.CloudLog

Copyright © 2018 www.massapicom. 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.