org.apache.logging.log4j.core.net.server
Class JsonInputStreamLogEventBridge

java.lang.Object
  extended by org.apache.logging.log4j.core.net.server.AbstractLogEventBridge<InputStream>
      extended by org.apache.logging.log4j.core.net.server.InputStreamLogEventBridge
          extended by org.apache.logging.log4j.core.net.server.JsonInputStreamLogEventBridge
All Implemented Interfaces:
LogEventBridge<InputStream>

public class JsonInputStreamLogEventBridge
extends InputStreamLogEventBridge

Reads and logs JSON LogEvents from an InputStream..


Field Summary
 
Fields inherited from class org.apache.logging.log4j.core.net.server.AbstractLogEventBridge
END, logger
 
Constructor Summary
JsonInputStreamLogEventBridge()
           
JsonInputStreamLogEventBridge(int bufferSize, Charset charset)
           
 
Method Summary
protected  int[] getEventIndices(String text, int beginIndex)
           
 
Methods inherited from class org.apache.logging.log4j.core.net.server.InputStreamLogEventBridge
logEvents, unmarshal
 
Methods inherited from class org.apache.logging.log4j.core.net.server.AbstractLogEventBridge
wrapStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonInputStreamLogEventBridge

public JsonInputStreamLogEventBridge()

JsonInputStreamLogEventBridge

public JsonInputStreamLogEventBridge(int bufferSize,
                                     Charset charset)
Method Detail

getEventIndices

protected int[] getEventIndices(String text,
                                int beginIndex)
Specified by:
getEventIndices in class InputStreamLogEventBridge


Copyright © 1999-2014 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.