Search in sources :

Example 1 with UserInputStandardOutputRenderer

use of org.gradle.internal.logging.console.UserInputStandardOutputRenderer 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);
}
Also used : StyledTextOutputBackedRenderer(org.gradle.internal.logging.console.StyledTextOutputBackedRenderer) ThrottlingOutputEventListener(org.gradle.internal.logging.console.ThrottlingOutputEventListener) StreamingStyledTextOutput(org.gradle.internal.logging.text.StreamingStyledTextOutput) OutputEventListener(org.gradle.internal.logging.events.OutputEventListener) ThrottlingOutputEventListener(org.gradle.internal.logging.console.ThrottlingOutputEventListener) UserInputStandardOutputRenderer(org.gradle.internal.logging.console.UserInputStandardOutputRenderer) BuildLogLevelFilterRenderer(org.gradle.internal.logging.console.BuildLogLevelFilterRenderer) PrettyPrefixedLogHeaderFormatter(org.gradle.internal.logging.format.PrettyPrefixedLogHeaderFormatter)

Aggregations

BuildLogLevelFilterRenderer (org.gradle.internal.logging.console.BuildLogLevelFilterRenderer)1 StyledTextOutputBackedRenderer (org.gradle.internal.logging.console.StyledTextOutputBackedRenderer)1 ThrottlingOutputEventListener (org.gradle.internal.logging.console.ThrottlingOutputEventListener)1 UserInputStandardOutputRenderer (org.gradle.internal.logging.console.UserInputStandardOutputRenderer)1 OutputEventListener (org.gradle.internal.logging.events.OutputEventListener)1 PrettyPrefixedLogHeaderFormatter (org.gradle.internal.logging.format.PrettyPrefixedLogHeaderFormatter)1 StreamingStyledTextOutput (org.gradle.internal.logging.text.StreamingStyledTextOutput)1