- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for removeStandardOutputListener (0.39 sec)
-
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy
when: loggingManager.removeStandardOutputListener(stdoutListener) then: 1 * loggingRouter.removeStandardOutputListener(stdoutListener) when: loggingManager.stop() then: 0 * loggingRouter.removeStandardOutputListener(stdoutListener) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 15.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/services/DefaultLoggingManager.java
addStandardErrorListener(new StreamBackedStandardOutputListener(outputStream)); } @Override public void removeStandardOutputListener(StandardOutputListener listener) { if (stdoutListeners.remove(listener) && started) { loggingOutput.removeStandardOutputListener(listener); } } @Override public void removeStandardErrorListener(StandardOutputListener listener) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 15.3K bytes - Viewed (0) -
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)