LRAUV  revA
SyslogStartRule Class Reference

A Logger Rule which matches against the starting text of a SyslogEntry. More...

#include <LoggerRules.h>

Inheritance diagram for SyslogStartRule:
Collaboration diagram for SyslogStartRule:

Public Member Functions

 SyslogStartRule (const Str &start)
 
virtual ~SyslogStartRule (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

Str start_
 The SyslogEntry start text we are looking for. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Rule
 Rule (void)
 Protected constructor for pure virtual class. More...
 

Detailed Description

A Logger Rule which matches against the starting text of a SyslogEntry.

It is not necessary to use a TypeRule with this rule, as this rule only accepts SyslogEntry items.

Constructor & Destructor Documentation

SyslogStartRule::SyslogStartRule ( const Str start)
SyslogStartRule::~SyslogStartRule ( void  )
virtual

Member Function Documentation

bool SyslogStartRule::check ( const LogEntry entry)
virtual
Str SyslogStartRule::toString ( void  )
virtual

Serialize this Rule to a Str.

Implements Rule.

References start_.

Member Data Documentation

Str SyslogStartRule::start_
private

The SyslogEntry start text we are looking for.

Referenced by check(), and toString().


The documentation for this class was generated from the following files: