use of org.gradle.internal.logging.text.StreamingStyledTextOutput in project gradle by gradle.
the class TextReportRenderer method setOutputFile.
@Override
public void setOutputFile(File file) throws IOException {
cleanupWriter();
setWriter(new StreamingStyledTextOutput(new BufferedWriter(new FileWriter(file))), true);
}
use of org.gradle.internal.logging.text.StreamingStyledTextOutput in project gradle by gradle.
the class OutputEventRenderer method addPlainConsole.
private OutputEventRenderer addPlainConsole(StandardOutputListener outputListener) {
OutputEventListener stdoutChain = new UserInputStandardOutputRenderer(new StyledTextOutputBackedRenderer(new StreamingStyledTextOutput(outputListener)), clock);
OutputEventListener consoleChain = new ThrottlingOutputEventListener(new BuildLogLevelFilterRenderer(new GroupingProgressLogEventGenerator(stdoutChain, clock, new PrettyPrefixedLogHeaderFormatter(), true)), clock);
return addConsoleChain(consoleChain, true, true);
}
Aggregations