net.logstash.logback.encoder
Class LogstashEncoder

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.encoder.EncoderBase<ch.qos.logback.classic.spi.ILoggingEvent>
          extended by net.logstash.logback.encoder.LogstashEncoder
All Implemented Interfaces:
ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

public class LogstashEncoder
extends ch.qos.logback.core.encoder.EncoderBase<ch.qos.logback.classic.spi.ILoggingEvent>


Field Summary
 
Fields inherited from class ch.qos.logback.core.encoder.EncoderBase
outputStream, started
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
LogstashEncoder()
           
 
Method Summary
 void close()
           
 void doEncode(ch.qos.logback.classic.spi.ILoggingEvent event)
           
 boolean isImmediateFlush()
           
 void setImmediateFlush(boolean immediateFlush)
           
 
Methods inherited from class ch.qos.logback.core.encoder.EncoderBase
init, isStarted, start, stop
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
 

Constructor Detail

LogstashEncoder

public LogstashEncoder()
Method Detail

doEncode

public void doEncode(ch.qos.logback.classic.spi.ILoggingEvent event)
              throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

isImmediateFlush

public boolean isImmediateFlush()

setImmediateFlush

public void setImmediateFlush(boolean immediateFlush)


Copyright © 2013. All Rights Reserved.