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 void
processLine
(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
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
Slf4jDebugOutputStream
public Slf4jDebugOutputStream(org.slf4j.Logger logger)
-
-
Method Details
-
processLine
Description copied from class:LogOutputStream
Logs a line to the log system of the user.- Specified by:
processLine
in classLogOutputStream
- Parameters:
line
- the line to log.
-