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 Details

    • ProcessLogOutputStream

      public ProcessLogOutputStream(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level)
  • Method Details

    • processLine

      protected void processLine(String line, int logLevel)
      Specified by:
      processLine in class org.apache.commons.exec.LogOutputStream