Package edu.jiangxin.apktoolbox.utils
Class ProcessLogOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.exec.LogOutputStream
edu.jiangxin.apktoolbox.utils.ProcessLogOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class ProcessLogOutputStream
extends org.apache.commons.exec.LogOutputStream
Record output or errput of child process to Apache logging system
-
Constructor Summary
ConstructorDescriptionProcessLogOutputStream
(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) -
Method Summary
Methods inherited from class org.apache.commons.exec.LogOutputStream
close, flush, getMessageLevel, processBuffer, processLine, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
ProcessLogOutputStream
public ProcessLogOutputStream(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level)
-
-
Method Details
-
processLine
- Specified by:
processLine
in classorg.apache.commons.exec.LogOutputStream
-