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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-
flush
public void flush()- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(int b) - Specified by:
write
in classOutputStream
-