Package org.xwiki.test.integration
Class XWikiLogOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.commons.exec.LogOutputStream
-
- org.xwiki.test.integration.XWikiLogOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class XWikiLogOutputStream extends org.apache.commons.exec.LogOutputStream
Logs the stdout and stderr streams of an external process started using Commons Exec.- Since:
- 4.3.1
- Version:
- $Id: 662c6e99162544959c458389f71d8ef18709b08b $
-
-
Constructor Summary
Constructors Constructor Description XWikiLogOutputStream()
Always log at STDOUT level since we don't care as we'll log exactly the messages passed to us.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processLine(String line, int level)
-
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
-
-
-
-
Method Detail
-
processLine
protected void processLine(String line, int level)
- Specified by:
processLine
in classorg.apache.commons.exec.LogOutputStream
-
-