#include <appender.h>
Public Member Functions | |
Appender (QObject *pParent=0) | |
virtual | ~Appender () |
virtual Filter * | filter () const =0 |
virtual QString | name () const =0 |
virtual Layout * | layout () const =0 |
virtual bool | requiresLayout () const =0 |
virtual void | setLayout (Layout *pLayout)=0 |
virtual void | setName (const QString &rName)=0 |
virtual void | addFilter (Filter *pFilter)=0 |
virtual void | clearFilters ()=0 |
virtual void | close ()=0 |
virtual void | doAppend (const LoggingEvent &rEvent)=0 |
Properties | |
Layout | layout |
QString | name |
bool | requiresLayout |
To allow the whole hirarchy to be an ascendant of QObject Appender is not an interface.
The ownership and lifetime of objects of this class are managed. See Object ownership for more details.
Log4Qt::Appender::Appender | ( | QObject * | pParent = 0 |
) | [inline] |
Log4Qt::Appender::~Appender | ( | ) | [inline, virtual] |
virtual Filter* Log4Qt::Appender::filter | ( | ) | const [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
virtual QString Log4Qt::Appender::name | ( | ) | const [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
virtual Layout* Log4Qt::Appender::layout | ( | ) | const [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
virtual bool Log4Qt::Appender::requiresLayout | ( | ) | const [pure virtual] |
Implemented in Log4Qt::DebugAppender, Log4Qt::ListAppender, Log4Qt::NullAppender, and Log4Qt::WriterAppender.
virtual void Log4Qt::Appender::setLayout | ( | Layout * | pLayout | ) | [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
virtual void Log4Qt::Appender::setName | ( | const QString & | rName | ) | [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
virtual void Log4Qt::Appender::addFilter | ( | Filter * | pFilter | ) | [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
virtual void Log4Qt::Appender::clearFilters | ( | ) | [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
virtual void Log4Qt::Appender::close | ( | ) | [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton, Log4Qt::ConsoleAppender, Log4Qt::FileAppender, and Log4Qt::WriterAppender.
virtual void Log4Qt::Appender::doAppend | ( | const LoggingEvent & | rEvent | ) | [pure virtual] |
Implemented in Log4Qt::AppenderSkeleton.
Layout Log4Qt::Appender::layout [read, write] |
QString Log4Qt::Appender::name [read, write] |
bool Log4Qt::Appender::requiresLayout [read] |
The property holds if the Appender requires a Layout or not.