CppLogging
1.0.4.0
C++ Logging Library
|
Logging filter interface. More...
#include <filter.h>
Public Member Functions | |
virtual bool | FilterRecord (Record &record)=0 |
Filter the given logging record. More... | |
Public Member Functions inherited from CppLogging::Element | |
virtual bool | IsStarted () const noexcept |
Is the logging element started? More... | |
virtual bool | Start () |
Start the logging element. More... | |
virtual bool | Stop () |
Stop the logging element. More... | |
Logging filter interface.
Logging filter takes an instance of a single logging record and performs some checks to detect if the record should be filered out and not processed anymore.
|
pure virtual |
Filter the given logging record.
record | - Logging record |
Implemented in CppLogging::Trigger, CppLogging::SwitchFilter, CppLogging::MessageFilter, CppLogging::LoggerFilter, and CppLogging::LevelFilter.