Apache Log4cxx Version 1.1.0
|
This Interface is for attaching Appenders to objects. More...
#include <appenderattachable.h>
Public Member Functions | |
virtual void | addAppender (const AppenderPtr newAppender)=0 |
Add an appender. | |
virtual AppenderList | getAllAppenders () const =0 |
Get all previously added appenders as an AppenderList. | |
virtual AppenderPtr | getAppender (const LogString &name) const =0 |
Get an appender by name. | |
virtual bool | isAttached (const AppenderPtr appender) const =0 |
Returns true if the specified appender is in list of attached appenders, false otherwise. | |
virtual void | removeAllAppenders ()=0 |
Remove all previously added appenders. | |
virtual void | removeAppender (const AppenderPtr appender)=0 |
Remove the appender passed as parameter from the list of appenders. | |
virtual void | removeAppender (const LogString &name)=0 |
Remove the appender with the name passed as parameter from the list of appenders. | |
virtual | ~AppenderAttachable () |
Public Member Functions inherited from log4cxx::helpers::Object | |
virtual | ~Object () |
virtual const helpers::Class & | getClass () const =0 |
virtual bool | instanceof (const Class &clazz) const =0 |
virtual const void * | cast (const Class &clazz) const =0 |
This Interface is for attaching Appenders to objects.
|
inlinevirtual |
|
pure virtual |
Add an appender.
Implemented in log4cxx::AsyncAppender, log4cxx::helpers::AppenderAttachableImpl, and log4cxx::Logger.
|
pure virtual |
Get all previously added appenders as an AppenderList.
Implemented in log4cxx::AsyncAppender, log4cxx::helpers::AppenderAttachableImpl, and log4cxx::Logger.
|
pure virtual |
Get an appender by name.
Implemented in log4cxx::AsyncAppender, log4cxx::helpers::AppenderAttachableImpl, and log4cxx::Logger.
|
pure virtual |
Returns true
if the specified appender is in list of attached appenders, false
otherwise.
Implemented in log4cxx::AsyncAppender, log4cxx::helpers::AppenderAttachableImpl, and log4cxx::Logger.
|
pure virtual |
Remove all previously added appenders.
Implemented in log4cxx::AsyncAppender, log4cxx::helpers::AppenderAttachableImpl, and log4cxx::Logger.
|
pure virtual |
Remove the appender passed as parameter from the list of appenders.
Implemented in log4cxx::AsyncAppender, log4cxx::helpers::AppenderAttachableImpl, and log4cxx::Logger.
|
pure virtual |
Remove the appender with the name passed as parameter from the list of appenders.
Implemented in log4cxx::AsyncAppender, log4cxx::helpers::AppenderAttachableImpl, and log4cxx::Logger.