org.openbakery.output.ConsoleOutputAppender Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xcode-plugin Show documentation
Show all versions of xcode-plugin Show documentation
XCode-Plugin is a plugin to allow custom XCode projects to build as generated by CMake
package org.openbakery.output;
import org.gradle.internal.logging.text.StyledTextOutput;
public class ConsoleOutputAppender implements OutputAppender {
private StyledTextOutput output;
public ConsoleOutputAppender(StyledTextOutput output) {
this.output = output;
}
@Override
public void append(String line) {
output.withStyle(StyledTextOutput.Style.Info).println(line);
}
}