Example usage for org.springframework.boot.ansi AnsiStyle FAINT

List of usage examples for org.springframework.boot.ansi AnsiStyle FAINT

Introduction

In this page you can find the example usage for org.springframework.boot.ansi AnsiStyle FAINT.

Prototype

AnsiStyle FAINT

To view the source code for org.springframework.boot.ansi AnsiStyle FAINT.

Click Source Link

Usage

From source file:com.ebay.logstorm.server.utils.EagleBanner.java

@Override
public void printBanner(Environment environment, Class<?> sourceClass, PrintStream printStream) {
    for (String line : BANNER) {
        printStream.println(line);//w w  w .ja v  a  2 s  . c om
    }
    String version = SpringBootVersion.getVersion();
    version = (version == null ? "" : " (v" + version + ")");
    String padding = "";
    while (padding.length() < STRAP_LINE_SIZE - (version.length() + SPRING_BOOT.length())) {
        padding += " ";
    }
    printStream.println(AnsiOutput.toString(AnsiColor.GREEN, SPRING_BOOT, AnsiColor.DEFAULT, padding,
            AnsiStyle.FAINT, version));
    printStream.println();
}