Public Member Functions | |
virtual void | addFilter (const spi::FilterPtr &newFilter)=0 |
virtual const spi::FilterPtr & | getFilter () const =0 |
virtual void | clearFilters ()=0 |
virtual void | close ()=0 |
virtual void | doAppend (const spi::LoggingEventPtr &event)=0 |
virtual const String & | getName () const =0 |
virtual void | setErrorHandler (const spi::ErrorHandlerPtr &errorHandler)=0 |
virtual const spi::ErrorHandlerPtr & | getErrorHandler () const =0 |
virtual void | setLayout (const LayoutPtr &layout)=0 |
virtual const LayoutPtr & | getLayout () const =0 |
virtual void | setName (const String &name)=0 |
virtual bool | requiresLayout () const =0 |
|
Add a filter to the end of the filter list. Implemented in AppenderSkeleton. |
|
Clear the list of filters by removing all the filters in it. Implemented in AppenderSkeleton. |
|
Release any resources allocated within the appender such as file handles, network connections, etc. It is a programming error to append to a closed appender. Implemented in AsyncAppender, ODBCAppender, SMTPAppender, SocketAppender, SocketHubAppender, SyslogAppender, TelnetAppender, XMLSocketAppender, NTEventLogAppender, and WriterAppender. |
|
Log in Implemented in AppenderSkeleton. |
|
Returns the ErrorHandler for this appender. Implemented in AppenderSkeleton. |
|
Returns the head Filter. The Filters are organized in a linked list and so all Filters on this Appender are available through the result.
Implemented in AppenderSkeleton. |
|
Returns this appenders layout. Implemented in AppenderSkeleton. |
|
Get the name of this appender. The name uniquely identifies the appender. Implemented in AppenderSkeleton. |
|
Configurators call this method to determine if the appender requires a layout. If this method returns
In the rather exceptional case, where the appender implementation admits a layout but can also work without it, then the appender should return Implemented in AsyncAppender, ODBCAppender, SMTPAppender, SocketAppender, SocketHubAppender, SyslogAppender, TelnetAppender, XMLSocketAppender, NTEventLogAppender, and WriterAppender. |
|
Set the ErrorHandler for this appender. Implemented in AppenderSkeleton. |
|
Set the Layout for this appender. Implemented in AppenderSkeleton. |
|
Set the name of this appender. The name is used by other components to identify this appender. Implemented in AppenderSkeleton. |