|
LRAUV
revA
|
Abstract base class for classes that are used by LogEngine to determine which LogWriter(s) to use for each LogEntry as they are popped off the LogQueue. More...
#include <LoggerRules.h>

Public Member Functions | |
| virtual | ~Rule (void) |
| Destructor. More... | |
| virtual bool | check (const LogEntry *entry)=0 |
| Does this rule match this LogEntry. More... | |
| virtual Str | toString (void)=0 |
| Serialize this Rule to a Str. More... | |
| virtual void | activate () |
| virtual void | deactivate () |
| virtual bool | isActive () |
Protected Member Functions | |
| Rule (void) | |
| Protected constructor for pure virtual class. More... | |
Private Member Functions | |
| Rule (const Rule &old) | |
Private Attributes | |
| bool | active_ |
Abstract base class for classes that are used by LogEngine to determine which LogWriter(s) to use for each LogEntry as they are popped off the LogQueue.
|
inlinevirtual |
Destructor.
|
protected |
Protected constructor for pure virtual class.
|
private |
|
virtual |
References active_.
|
pure virtual |
Does this rule match this LogEntry.
Implemented in DataNameRule, DataWriteRule, SyslogStartRule, SyslogSeverityRule, EventTypeRule, TypeRule, NotRule, OrRule, and AndRule.
Referenced by AndRule::check(), OrRule::check(), NotRule::check(), and LogAssociation::matchAndProcess().
|
virtual |
References active_.
|
virtual |
References active_.
Referenced by LogAssociation::matchAndProcess().
|
pure virtual |
Implemented in DataNameRule, DataWriteRule, SyslogStartRule, SyslogSeverityRule, EventTypeRule, TypeRule, NotRule, OrRule, and AndRule.
Referenced by AndRule::toString(), OrRule::toString(), and NotRule::toString().
|
private |
Referenced by activate(), deactivate(), and isActive().