|
OFFIS DCMTK
Version 3.6.0
|
This Interface is for attaching Appenders to objects. More...
Public Member Functions | |
| virtual void | addAppender (SharedAppenderPtr newAppender) |
| Add an appender. | |
| virtual SharedAppenderPtrList | getAllAppenders () |
| Get all previously added appenders as an vectory. | |
| virtual SharedAppenderPtr | getAppender (const log4cplus::tstring &name) |
Look for an attached appender named as name. | |
| virtual void | removeAllAppenders () |
| Remove all previously added appenders. | |
| virtual void | removeAppender (SharedAppenderPtr appender) |
| Remove the appender passed as parameter from the list of appenders. | |
| virtual void | removeAppender (const log4cplus::tstring &name) |
| Remove the appender with the name passed as parameter from the list of appenders. | |
| int | appendLoopOnAppenders (const spi::InternalLoggingEvent &event) const |
Call the doAppend method on all attached appenders. | |
Public Attributes | |
| LOG4CPLUS_MUTEX_PTR_DECLARE | appender_list_mutex |
Protected Types | |
| typedef OFList< SharedAppenderPtr > | ListType |
Protected Member Functions | |
| typedef | OFListIterator (SharedAppenderPtr) ListIteratorType |
| typedef | OFListConstIterator (SharedAppenderPtr) ListConstIteratorType |
Protected Member Functions inherited from log4cplus::helpers::LogLogUser | |
| LogLogUser (const LogLogUser &) | |
| LogLog & | getLogLog () const |
| LogLogUser & | operator= (const LogLogUser &rhs) |
Protected Attributes | |
| ListType | appenderList |
| Array of appenders. | |
This Interface is for attaching Appenders to objects.
Definition at line 44 of file apndimpl.h.
|
virtual |
Add an appender.
If the appender is already in the list in won't be added again.
Implements log4cplus::spi::AppenderAttachable.
|
virtual |
Look for an attached appender named as name.
Return the appender with that name if in the list. Return null otherwise.
Implements log4cplus::spi::AppenderAttachable.
|
protected |
Array of appenders.
Definition at line 107 of file apndimpl.h.