#include <stringmatchfilter.h>
Public Member Functions | |
StringMatchFilter (QObject *pParent=0) | |
bool | acceptOnMatch () const |
QString | stringToMatch () const |
void | setAcceptOnMatch (bool accept) |
void | setStringToMatch (const QString &rString) |
virtual Decision | decide (const LoggingEvent &rEvent) const |
Protected Member Functions | |
virtual QDebug | debug (QDebug &rDebug) const |
Properties | |
bool | acceptOnMatch |
QString | stringToMatch |
Log4Qt::StringMatchFilter::StringMatchFilter | ( | QObject * | pParent = 0 |
) |
bool Log4Qt::StringMatchFilter::acceptOnMatch | ( | ) | const |
QString Log4Qt::StringMatchFilter::stringToMatch | ( | ) | const |
void Log4Qt::StringMatchFilter::setAcceptOnMatch | ( | bool | accept | ) | [inline] |
void Log4Qt::StringMatchFilter::setStringToMatch | ( | const QString & | rString | ) | [inline] |
virtual Decision Log4Qt::StringMatchFilter::decide | ( | const LoggingEvent & | rEvent | ) | const [virtual] |
Implements Log4Qt::Filter.
virtual QDebug Log4Qt::StringMatchFilter::debug | ( | QDebug & | rDebug | ) | const [protected, virtual] |
Writes all object member variables to the given debug stream rDebug and returns the stream.
StringMatchFilter(acceptonmatch:true referencecount:1 stringtomatch:"LDAP_STRONG_AUTH_REQUIRED" next:Log4Qt::LevelMatchFilter(0x3bdd960) )
Implements Log4Qt::LogObject.
bool Log4Qt::StringMatchFilter::acceptOnMatch [inline, read, write] |
The property holds if an event is accpeted on a match.
The default is true.
QString Log4Qt::StringMatchFilter::stringToMatch [inline, read, write] |
The property holds the string to match for this filter.