Package org.apache.logging.log4j.io
Class ByteStreamLogger
- java.lang.Object
-
- org.apache.logging.log4j.io.ByteStreamLogger
-
public class ByteStreamLogger extends Object
- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description ByteStreamLogger(ExtendedLogger logger, Level level, Marker marker, Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(String fqcn)
void
put(String fqcn, byte[] b, int off, int len)
void
put(String fqcn, int b)
-
-
-
Constructor Detail
-
ByteStreamLogger
public ByteStreamLogger(ExtendedLogger logger, Level level, Marker marker, Charset charset)
-
-
Method Detail
-
close
public void close(String fqcn)
-
put
public void put(String fqcn, byte[] b, int off, int len) throws IOException
- Throws:
IOException
-
put
public void put(String fqcn, int b) throws IOException
- Throws:
IOException
-
-