Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

LogLevelLogRecordFilter Class Reference
[LWLogging Service]

#include <LogLevelLogRecordFilter.h>

Inheritance diagram for LogLevelLogRecordFilter:

Inheritance graph
[legend]
Collaboration diagram for LogLevelLogRecordFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

A LogRecordFilter implementation that tests for LogLevels.

A LogRecord will pass this filter if it has a LogLevel that belongs to a set of LogLevels configured in this filter as a sequence of LogLevels


Public Member Functions

 LogLevelLogRecordFilter (const CosLwLog::LogLevelSequence &levels)
virtual ~LogLevelLogRecordFilter ()
 LogLevelLogRecordFilter (const LogLevelLogRecordFilter &filter)
virtual CosLwLog::RecordId filter (const CosLwLog::LogRecord &recd) const


Constructor & Destructor Documentation

LogLevelLogRecordFilter::LogLevelLogRecordFilter const CosLwLog::LogLevelSequence levels  ) 
 

ctor

Parameters:
levels - The LogLevels to test

virtual LogLevelLogRecordFilter::~LogLevelLogRecordFilter  )  [inline, virtual]
 

dtor

Does nothing

LogLevelLogRecordFilter::LogLevelLogRecordFilter const LogLevelLogRecordFilter filter  ) 
 

Copy ctor

Parameters:
filter That is which is to be copied


Member Function Documentation

virtual CosLwLog::RecordId LogLevelLogRecordFilter::filter const CosLwLog::LogRecord recd  )  const [virtual]
 

All LogRecordFilters are required to cover this operation

The fundamental test for determining if a LogRecord should have membership in a set given a specific criteria. The criteria is expected to have been established during construction of the LogRecordFilter implementation. A LogRecordFilter returns the RecordId of the tested record if successful, else it return's zero.

Parameters:
recd - The LogRecord to be tested
Returns:
RecordId of the tested record if successful, else zero

Implements LogRecordFilter.


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