|
LRAUV
revA
|
A Logger Rule which matches against a given LogEvent::EventEntry. More...
#include <LoggerRules.h>


Public Member Functions | |
| EventTypeRule (EventEntry::EventType eventIn) | |
| virtual | ~EventTypeRule (void) |
| virtual bool | check (const LogEntry *entry) |
| Does this rule match this LogEntry. More... | |
| virtual Str | toString (void) |
| Serialize this Rule to a Str. More... | |
Public Member Functions inherited from Rule | |
| virtual | ~Rule (void) |
| Destructor. More... | |
| virtual void | activate () |
| virtual void | deactivate () |
| virtual bool | isActive () |
Private Attributes | |
| EventEntry::EventType | eventType_ |
| The LogEntry type we're looking for. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Rule | |
| Rule (void) | |
| Protected constructor for pure virtual class. More... | |
A Logger Rule which matches against a given LogEvent::EventEntry.
Multiple EventEntry::Action values may be mathematically added together
It is not necessary to use a TypeRule with this rule, as this rule only accepts EventEntry items.
| EventTypeRule::EventTypeRule | ( | EventEntry::EventType | eventIn | ) |
|
virtual |
|
virtual |
Does this rule match this LogEntry.
Implements Rule.
References LogEntry::EVENT_LOG_ENTRY, eventType_, EventEntry::getEventType(), and LogEntry::getType().
|
virtual |
Implements Rule.
References eventType_, and EventEntry::EventTypeToString().
|
private |
The LogEntry type we're looking for.
Referenced by check(), and toString().