Package org.gradle.api.logging
Interface LoggingOutput
-
- All Known Subinterfaces:
LoggingManager
public interface LoggingOutputProvides access to the output of the Gradle logging system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddStandardErrorListener(StandardOutputListener listener)Adds a listener which receives output written to standard error by the Gradle logging system.voidaddStandardOutputListener(StandardOutputListener listener)Adds a listener which receives output written to standard output by the Gradle logging system.voidremoveStandardErrorListener(StandardOutputListener listener)Removes a listener from standard error.voidremoveStandardOutputListener(StandardOutputListener listener)Removes a listener from standard output.
-
-
-
Method Detail
-
addStandardOutputListener
void addStandardOutputListener(StandardOutputListener listener)
Adds a listener which receives output written to standard output by the Gradle logging system.- Parameters:
listener- The listener to add.
-
removeStandardOutputListener
void removeStandardOutputListener(StandardOutputListener listener)
Removes a listener from standard output.- Parameters:
listener- The listener to remove.
-
addStandardErrorListener
void addStandardErrorListener(StandardOutputListener listener)
Adds a listener which receives output written to standard error by the Gradle logging system.- Parameters:
listener- The listener to add.
-
removeStandardErrorListener
void removeStandardErrorListener(StandardOutputListener listener)
Removes a listener from standard error.- Parameters:
listener- The listener to remove.
-
-