org.zeroturnaround.exec.stream.slf4j
Class Slf4jWarnOutputStream
java.lang.Object
java.io.OutputStream
org.zeroturnaround.exec.stream.LogOutputStream
org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
org.zeroturnaround.exec.stream.slf4j.Slf4jWarnOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class Slf4jWarnOutputStream
- extends Slf4jOutputStream
Output stream that writes warn level messages to a given Logger.
- Author:
- Rein Raudjärv
|
Method Summary |
protected void |
processLine(String line)
Logs a line to the log system of the user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Slf4jWarnOutputStream
public Slf4jWarnOutputStream(org.slf4j.Logger logger)
processLine
protected void processLine(String line)
- Description copied from class:
LogOutputStream
- Logs a line to the log system of the user.
- Specified by:
processLine in class LogOutputStream
- Parameters:
line - the line to log.
Copyright © 2015 ZeroTurnaround. All rights reserved.