CppLogging 1.0.5.0
C++ Logging Library
Loading...
Searching...
No Matches
switch_filter.cpp
Go to the documentation of this file.
1
10
11namespace CppLogging {
12
13void SwitchFilter::Update(bool enabled)
14{
15 _enabled = enabled;
16}
17
19{
20 return _enabled;
21}
22
23} // namespace CppLogging
Logging record.
Definition record.h:37
void Update(bool enabled)
Update switch filter with a given enabled flag.
bool enabled() const noexcept
Get the filter enabled flag.
bool FilterRecord(Record &record) override
Filter the given logging record.
C++ Logging project definitions.
Definition appender.h:15
Switch filter definition.