use of org.gradle.internal.logging.text.StreamBackedStandardOutputListener in project gradle by gradle.
the class OutputEventRenderer method addStandardOutputListener.
private void addStandardOutputListener() {
synchronized (lock) {
originalStdOut = System.out;
if (stdOutListener != null) {
stdoutListeners.remove(stdOutListener);
}
stdOutListener = new StreamBackedStandardOutputListener((Appendable) System.out);
addStandardOutputListener(stdOutListener);
}
}
use of org.gradle.internal.logging.text.StreamBackedStandardOutputListener in project gradle by gradle.
the class OutputEventRenderer method addStandardErrorListener.
private void addStandardErrorListener() {
synchronized (lock) {
originalStdErr = System.err;
if (stdErrListener != null) {
stderrListeners.remove(stdErrListener);
}
stdErrListener = new StreamBackedStandardOutputListener((Appendable) System.err);
addStandardErrorListener(stdErrListener);
}
}
Aggregations