Class Slf4jInfoOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.zeroturnaround.exec.stream.LogOutputStream
-
- org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
-
- org.zeroturnaround.exec.stream.slf4j.Slf4jInfoOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class Slf4jInfoOutputStream extends Slf4jOutputStream
Output stream that writesinfolevel messages to a givenLogger.
-
-
Field Summary
-
Fields inherited from class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
log
-
-
Constructor Summary
Constructors Constructor Description Slf4jInfoOutputStream(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessLine(java.lang.String line)Logs a line to the log system of the user.-
Methods inherited from class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
getLogger
-
Methods inherited from class org.zeroturnaround.exec.stream.LogOutputStream
close, flush, processBuffer, write, write
-
-
-
-
Method Detail
-
processLine
protected void processLine(java.lang.String line)
Description copied from class:LogOutputStreamLogs a line to the log system of the user.- Specified by:
processLinein classLogOutputStream- Parameters:
line- the line to log.
-
-