CppLogging 1.0.5.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. | |
![]() | |
virtual bool | IsStarted () const noexcept |
Is the logging element started? | |
virtual bool | Start () |
Start the logging element. | |
virtual bool | Stop () |
Stop the logging element. | |
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::LevelFilter, CppLogging::LoggerFilter, CppLogging::MessageFilter, CppLogging::SwitchFilter, and CppLogging::Trigger.