- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for removeStandardOutputListener (0.33 sec)
-
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy
def listener = new TestListener() when: renderer.enableUserStandardOutputListeners() renderer.addStandardOutputListener(listener) renderer.removeStandardOutputListener(listener) renderer.onOutput(event('info', LogLevel.INFO)) renderer.onOutput(event('error', LogLevel.ERROR)) then: listener.value == '' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 19:25:32 UTC 2024 - 17.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/OutputEventRenderer.java
public void addStandardErrorListener(OutputStream outputStream) { addStandardErrorListener(new StreamBackedStandardOutputListener(outputStream)); } @Override public void removeStandardOutputListener(StandardOutputListener listener) { synchronized (lock) { assertUserListenersEnabled(); userStdoutListeners.remove(listener); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 19:25:32 UTC 2024 - 20.4K bytes - Viewed (0)