Package com.liferay.petra.process
Class LoggingOutputProcessor
java.lang.Object
com.liferay.petra.process.LoggingOutputProcessor
- All Implemented Interfaces:
OutputProcessor<Void,
Void>
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingOutputProcessor
(Charset charset, BiConsumer<Boolean, String> logLineConsumer) LoggingOutputProcessor
(BiConsumer<Boolean, String> logLineConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprocessStdErr
(InputStream stdErrInputStream) processStdOut
(InputStream stdOutInputStream)
-
Constructor Details
-
LoggingOutputProcessor
-
LoggingOutputProcessor
-
-
Method Details
-
processStdErr
- Specified by:
processStdErr
in interfaceOutputProcessor<Void,
Void> - Throws:
ProcessException
-
processStdOut
- Specified by:
processStdOut
in interfaceOutputProcessor<Void,
Void> - Throws:
ProcessException
-