CppLogging  1.0.4.0
C++ Logging Library
logger_filter.cpp
Go to the documentation of this file.
1 
10 
11 namespace CppLogging {
12 
14 {
15  bool result = (_pattern.compare(record.logger) == 0);
16  return _positive ? result : !result;
17 }
18 
19 } // namespace CppLogging
bool FilterRecord(Record &record) override
Filter the given logging record.
Logging record.
Definition: record.h:37
std::string logger
Logger name of the logging record.
Definition: record.h:46
Logger filter definition.
C++ Logging project definitions.
Definition: appender.h:15