Class InternalOutputStream
java.lang.Object
java.io.OutputStream
org.apache.logging.log4j.io.internal.InternalOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Internal class that exists primarily to allow location calculation to work.
- Since:
- 2.12
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInternalOutputStream
(ExtendedLogger logger, Level level, Marker marker, Charset charset, String fqcn) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
logger
-
fqcn
-
-
Constructor Details
-
InternalOutputStream
public InternalOutputStream(ExtendedLogger logger, Level level, Marker marker, Charset charset, String fqcn)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-