Class CustomLogstashEncoder

  • 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 CustomLogstashEncoder
    extends net.logstash.logback.encoder.LogstashEncoder
    • Field Summary

      • Fields inherited from class ch.qos.logback.core.encoder.EncoderBase

        started
      • Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

        context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CustomLogstashEncoder setupStackdriver()  
      • Methods inherited from class net.logstash.logback.encoder.LogstashEncoder

        addExcludeMdcKeyName, addIncludeMdcKeyName, addProvider, createFormatter, getCustomFields, getExcludeMdcKeyNames, getFieldNames, getFormatter, getIncludeMdcKeyNames, getShortenedLoggerNameLength, getThrowableConverter, getTimeZone, getVersion, isEnableContextMap, isIncludeCallerData, isIncludeCallerInfo, isIncludeContext, isIncludeMdc, isWriteVersionAsString, setCustomFields, setEnableContextMap, setExcludeMdcKeyNames, setFieldNames, setIncludeCallerData, setIncludeCallerInfo, setIncludeContext, setIncludeMdc, setIncludeMdcKeyNames, setShortenedLoggerNameLength, setThrowableConverter, setTimeZone, setVersion, setWriteVersionAsString
      • Methods inherited from class net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder

        setProviders
      • Methods inherited from class net.logstash.logback.encoder.CompositeJsonEncoder

        close, doEncode, doEncode, encode, footerBytes, getEncoding, getJsonFactoryDecorator, getJsonGeneratorDecorator, getLineSeparator, getMinBufferSize, getPrefix, getProviders, getSuffix, headerBytes, init, isImmediateFlush, setEncoding, setImmediateFlush, setJsonFactoryDecorator, setJsonGeneratorDecorator, setLineSeparator, setMinBufferSize, setPrefix, setSuffix, start, stop
      • Methods inherited from class ch.qos.logback.core.encoder.EncoderBase

        isStarted
      • Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
      • Methods inherited from interface ch.qos.logback.core.spi.ContextAware

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
    • Constructor Detail

      • CustomLogstashEncoder

        public CustomLogstashEncoder()