Package com.github.loki4j.logback
Class PipelineConfigAppenderBase
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
- com.github.loki4j.logback.PipelineConfigAppenderBase
-
- All Implemented Interfaces:
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.LifeCycle
- Direct Known Subclasses:
Loki4jAppender
public abstract class PipelineConfigAppenderBase extends ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>This appender layer is responsible for the configuration required to create a pipeline for sending logs to Loki.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPipelineConfigAppenderBase.BasicAuthstatic classPipelineConfigAppenderBase.BatchCfgstatic classPipelineConfigAppenderBase.HttpCfg
-
Constructor Summary
Constructors Constructor Description PipelineConfigAppenderBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PipelineConfigbuildPipelineConfig()protected booleanisStaticLabels()voidsetBatch(PipelineConfigAppenderBase.BatchCfg batch)voidsetHttp(PipelineConfigAppenderBase.HttpCfg http)voidsetMetricsEnabled(boolean metricsEnabled)-
Methods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
addFilter, append, buildReentryGuard, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Method Detail
-
isStaticLabels
protected boolean isStaticLabels()
-
buildPipelineConfig
protected PipelineConfig buildPipelineConfig()
-
setBatch
public void setBatch(PipelineConfigAppenderBase.BatchCfg batch)
-
setHttp
public void setHttp(PipelineConfigAppenderBase.HttpCfg http)
-
setMetricsEnabled
public void setMetricsEnabled(boolean metricsEnabled)
-
-