Public Member Functions | |
| AppenderAttachableImpl (Pool &pool) | |
| Create new instance. | |
| 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 |
Protected Attributes | |
| AppenderList | appenderList |
| Array of appenders. | |
|
|
Create new instance.
|
|
|
Add an appender.
Implements AppenderAttachable. |
|
|
Reimplemented from ObjectImpl. |
|
||||||||||||
|
Call the
|
|
|
Get all previously added appenders as an Enumeration.
Implements AppenderAttachable. |
|
|
Get an appender by name.
Implements AppenderAttachable. |
|
|
|
|
|
Returns
Implements AppenderAttachable. |
|
|
Reimplemented from ObjectImpl. |
|
|
Remove all previously added appenders.
Implements AppenderAttachable. |
|
|
Remove the appender with the name passed as parameter from the list of appenders.
Implements AppenderAttachable. |
|
|
Remove the appender passed as parameter from the list of appenders.
Implements AppenderAttachable. |
|
|
Array of appenders.
|