Example usage for org.springframework.ide.eclipse.boot.dash.views BootDashModelConsoleManager writeToConsole

List of usage examples for org.springframework.ide.eclipse.boot.dash.views BootDashModelConsoleManager writeToConsole

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.dash.views BootDashModelConsoleManager writeToConsole.

Prototype

public void writeToConsole(String appName, String message, LogType type) throws Exception 

Source Link

Document

Write a message to an EXISTING console for the associated element.

Usage

From source file:org.springframework.ide.eclipse.boot.dash.cloudfoundry.CloudAppDashElement.java

/**
 * Print a message to the console associated with this application.
 *//*from w  ww .jav a 2  s. c  om*/
public void print(String msg, LogType type) {
    try {
        BootDashModelConsoleManager consoles = getCloudModel().getElementConsoleManager();
        consoles.writeToConsole(this, msg + "\n", type);
    } catch (Exception e) {
        Log.log(e);
    }
}