Package ch.qos.logback.core
Interface Appender<E>
-
- All Superinterfaces:
ContextAware
,FilterAttachable<E>
,LifeCycle
- All Known Implementing Classes:
AbstractServerSocketAppender
,AbstractSocketAppender
,AbstractSSLSocketAppender
,AppenderBase
,AsyncAppender
,AsyncAppenderBase
,ConsoleAppender
,CyclicBufferAppender
,FileAppender
,ListAppender
,NOPAppender
,OutputStreamAppender
,RollingFileAppender
,ServerSocketAppender
,SiftingAppender
,SiftingAppenderBase
,SMTPAppender
,SMTPAppenderBase
,SocketAppender
,SSLServerSocketAppender
,SSLServerSocketAppenderBase
,SSLSocketAppender
,SyslogAppender
,SyslogAppenderBase
,UnsynchronizedAppenderBase
@Deprecated(since="2022-01-27") public interface Appender<E> extends LifeCycle, ContextAware, FilterAttachable<E>
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
doAppend(E event)
Deprecated.This is where an appender accomplishes its work.java.lang.String
getName()
Deprecated.Get the name of this appender.void
setName(java.lang.String name)
Deprecated.Set the name of this appender.-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Methods inherited from interface ch.qos.logback.core.spi.FilterAttachable
addFilter, clearAllFilters, getCopyOfAttachedFiltersList, getFilterChainDecision
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Deprecated.Get the name of this appender. The name uniquely identifies the appender.
-
doAppend
void doAppend(E event) throws LogbackException
Deprecated.This is where an appender accomplishes its work. Note that the argument is of type Object.- Parameters:
event
-- Throws:
LogbackException
-
setName
void setName(java.lang.String name)
Deprecated.Set the name of this appender. The name is used by other components to identify this appender.
-
-