@Internal
public final class CloudWatchLoggingAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
implements ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>
Constructor and Description |
---|
CloudWatchLoggingAppender() |
Modifier and Type | Method and Description |
---|---|
void |
addAppender(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> newAppender) |
void |
addBlackListLoggerName(java.lang.String test) |
protected void |
append(ch.qos.logback.classic.spi.ILoggingEvent eventObject) |
void |
detachAndStopAllAppenders() |
boolean |
detachAppender(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender) |
boolean |
detachAppender(java.lang.String name) |
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> |
getAppender(java.lang.String name) |
ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent> |
getEncoder() |
java.lang.String |
getGroupName() |
int |
getMaxBatchSize() |
long |
getPublishPeriod() |
int |
getQueueSize() |
java.lang.String |
getStreamName() |
boolean |
isAttached(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender) |
boolean |
isCreateGroupAndStream() |
java.util.Iterator<ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>> |
iteratorForAppenders() |
void |
setCreateGroupAndStream(boolean createGroupAndStream) |
void |
setEncoder(ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent> encoder) |
void |
setGroupName(java.lang.String groupName) |
void |
setMaxBatchSize(int maxBatchSize) |
void |
setPublishPeriod(long publishPeriod) |
void |
setQueueSize(int queueSize) |
void |
setStreamName(java.lang.String streamName) |
void |
start() |
void |
stop() |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public int getQueueSize()
public void setQueueSize(int queueSize)
public void addBlackListLoggerName(java.lang.String test)
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
public java.lang.String getStreamName()
public void setStreamName(java.lang.String streamName)
public long getPublishPeriod()
public void setPublishPeriod(long publishPeriod)
public int getMaxBatchSize()
public void setMaxBatchSize(int maxBatchSize)
public boolean isCreateGroupAndStream()
public void setCreateGroupAndStream(boolean createGroupAndStream)
public void start()
start
in interface ch.qos.logback.core.spi.LifeCycle
start
in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
public void stop()
stop
in interface ch.qos.logback.core.spi.LifeCycle
stop
in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
protected void append(ch.qos.logback.classic.spi.ILoggingEvent eventObject)
append
in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
public ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent> getEncoder()
public void setEncoder(ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent> encoder)
public void addAppender(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> newAppender)
addAppender
in interface ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>
public java.util.Iterator<ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>> iteratorForAppenders()
iteratorForAppenders
in interface ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>
public ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> getAppender(java.lang.String name)
getAppender
in interface ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>
public boolean isAttached(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender)
isAttached
in interface ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>
public void detachAndStopAllAppenders()
detachAndStopAllAppenders
in interface ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>
public boolean detachAppender(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender)
detachAppender
in interface ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>
public boolean detachAppender(java.lang.String name)
detachAppender
in interface ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>