org.apache.logging.log4j.io
Class ByteStreamLogger

java.lang.Object
  extended by org.apache.logging.log4j.io.ByteStreamLogger

public class ByteStreamLogger
extends Object

Since:
2.1

Constructor Summary
ByteStreamLogger(ExtendedLogger logger, Level level, Marker marker, Charset charset)
           
 
Method Summary
 void close(String fqcn)
           
 void put(String fqcn, byte[] b, int off, int len)
           
 void put(String fqcn, int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.