|
Apache log4cxx
Version 0.11.0
|
Public Member Functions | |
| AppenderAttachableImpl (Pool &pool) | |
| Create new instance. More... | |
| void | addRef () const |
| void | releaseRef () const |
| virtual void | addAppender (const AppenderPtr &newAppender) |
| Add an appender. | |
| int | appendLoopOnAppenders (const spi::LoggingEventPtr &event, log4cxx::helpers::Pool &p) |
Call the doAppend method on all attached appenders. | |
| virtual AppenderList | getAllAppenders () const |
| Get all previously added appenders as an Enumeration. | |
| virtual AppenderPtr | getAppender (const LogString &name) const |
| Get an appender by name. | |
| virtual bool | isAttached (const AppenderPtr &appender) const |
Returns true if the specified appender is in the list of attached appenders, false otherwise. | |
| virtual void | removeAllAppenders () |
| Remove all previously added appenders. | |
| virtual void | removeAppender (const AppenderPtr &appender) |
| Remove the appender passed as parameter from the list of appenders. | |
| virtual void | removeAppender (const LogString &name) |
| Remove the appender with the name passed as parameter from the list of appenders. | |
| const log4cxx::helpers::Mutex & | getMutex () const |
Public Member Functions inherited from log4cxx::helpers::Object | |
| virtual bool | instanceof (const Class &clazz) const =0 |
| virtual const void * | cast (const Class &clazz) const =0 |
Public Member Functions inherited from log4cxx::helpers::ObjectImpl | |
| void | addRef () const |
| void | releaseRef () const |
Protected Attributes | |
| AppenderList | appenderList |
| Array of appenders. More... | |
Protected Attributes inherited from log4cxx::helpers::ObjectImpl | |
| unsigned int volatile | ref |
| log4cxx::helpers::AppenderAttachableImpl::AppenderAttachableImpl | ( | Pool & | pool | ) |
Create new instance.
| pool | pool, must be longer-lived than instance. |
|
protected |
Array of appenders.