Package ch.qos.logback.core
Class UnsynchronizedAppenderBase<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.UnsynchronizedAppenderBase<E>
-
- All Implemented Interfaces:
Appender<E>
,ContextAware
,FilterAttachable<E>
,LifeCycle
- Direct Known Subclasses:
AsyncAppenderBase
,OutputStreamAppender
@Deprecated(since="2022-01-27") public abstract class UnsynchronizedAppenderBase<E> extends ContextAwareBase implements Appender<E>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Similar to AppenderBase except that derived appenders need to handle thread synchronization on their own.
-
-
Constructor Summary
Constructors Constructor Description UnsynchronizedAppenderBase()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addFilter(Filter<E> newFilter)
Deprecated.Add a filter.void
clearAllFilters()
Deprecated.void
doAppend(E eventObject)
Deprecated.This is where an appender accomplishes its work.java.util.List<Filter<E>>
getCopyOfAttachedFiltersList()
Deprecated.Get a copy of all the filters contained within this FilterAttachable object.FilterReply
getFilterChainDecision(E event)
Deprecated.Loop through the filters in the chain.java.lang.String
getName()
Deprecated.Get the name of this appender.boolean
isStarted()
Deprecated.void
setName(java.lang.String name)
Deprecated.Set the name of this appender.void
start()
Deprecated.void
stop()
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Deprecated.Description copied from interface:Appender
Get the name of this appender. The name uniquely identifies the appender.
-
doAppend
public void doAppend(E eventObject)
Deprecated.Description copied from interface:Appender
This is where an appender accomplishes its work. Note that the argument is of type Object.
-
setName
public void setName(java.lang.String name)
Deprecated.Set the name of this appender.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
addFilter
public void addFilter(Filter<E> newFilter)
Deprecated.Description copied from interface:FilterAttachable
Add a filter.- Specified by:
addFilter
in interfaceFilterAttachable<E>
-
clearAllFilters
public void clearAllFilters()
Deprecated.- Specified by:
clearAllFilters
in interfaceFilterAttachable<E>
-
getCopyOfAttachedFiltersList
public java.util.List<Filter<E>> getCopyOfAttachedFiltersList()
Deprecated.Description copied from interface:FilterAttachable
Get a copy of all the filters contained within this FilterAttachable object.- Specified by:
getCopyOfAttachedFiltersList
in interfaceFilterAttachable<E>
- Returns:
- all attached filters as a list
-
getFilterChainDecision
public FilterReply getFilterChainDecision(E event)
Deprecated.Description copied from interface:FilterAttachable
Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.- Specified by:
getFilterChainDecision
in interfaceFilterAttachable<E>
-
-