Class ConsoleAppender.SystemErrStream
java.lang.Object
java.io.OutputStream
org.apache.logging.log4j.core.appender.ConsoleAppender.SystemErrStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
ConsoleAppender
An implementation of OutputStream that redirects to the current System.err.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
SystemErrStream
public SystemErrStream()
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
flush
public void flush()- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(int b) - Specified by:
writein classOutputStream
-