CppLogging  1.0.4.0
C++ Logging Library
filter.h
Go to the documentation of this file.
1 
9 #ifndef CPPLOGGING_FILTER_H
10 #define CPPLOGGING_FILTER_H
11 
12 #include "logging/element.h"
13 #include "logging/record.h"
14 
15 namespace CppLogging {
16 
18 
28 class Filter : public Element
29 {
30 public:
32 
36  virtual bool FilterRecord(Record& record) = 0;
37 };
38 
39 } // namespace CppLogging
40 
41 #endif // CPPLOGGING_FILTER_H
Logging element interface.
Definition: element.h:26
Logging filter interface.
Definition: filter.h:29
virtual bool FilterRecord(Record &record)=0
Filter the given logging record.
Logging record.
Definition: record.h:37
Logging element interface definition.
C++ Logging project definitions.
Definition: appender.h:15
Logging record definition.