Class LogPrinter
java.lang.Object
org.jenkinsci.test.acceptance.log.LogPrinter
- All Implemented Interfaces:
LogListener
Prints out the received log with a prefix.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Indicates the EOF.void
processLine
(String line) Receives log output from Jenkins process one line at a time, in the order.
-
Constructor Details
-
LogPrinter
-
-
Method Details
-
processLine
Description copied from interface:LogListener
Receives log output from Jenkins process one line at a time, in the order.- Specified by:
processLine
in interfaceLogListener
- Throws:
IOException
-
processClose
Description copied from interface:LogListener
Indicates the EOF.- Specified by:
processClose
in interfaceLogListener
- Parameters:
t
- if the termination of log source is unexpected, indicate the cause of the problem.
-