Class Slf4jDebugOutputStream
java.lang.Object
java.io.OutputStream
org.zeroturnaround.exec.stream.LogOutputStream
org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
org.zeroturnaround.exec.stream.slf4j.Slf4jDebugOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Output stream that writes
debug level messages to a given Logger.-
Field Summary
Fields inherited from class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessLine(String line) Logs a line to the log system of the user.Methods inherited from class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
getLoggerMethods inherited from class org.zeroturnaround.exec.stream.LogOutputStream
close, flush, processBuffer, write, writeMethods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
Slf4jDebugOutputStream
public Slf4jDebugOutputStream(org.slf4j.Logger logger)
-
-
Method Details
-
processLine
Description copied from class:LogOutputStreamLogs a line to the log system of the user.- Specified by:
processLinein classLogOutputStream- Parameters:
line- the line to log.
-