|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|


Public Member Functions | |
| regex_condition (const std::string &pattern) | |
| bool | should_log (const log_entry &entry) const override |
| Check if a log entry should be processed. | |
| std::string | get_name () const override |
| Get the name of this filter. | |
Public Member Functions inherited from kcenon::logger::log_filter_interface | |
| virtual | ~log_filter_interface ()=default |
Private Attributes | |
| std::regex | pattern_ |
Definition at line 156 of file log_router.h.
|
inlineexplicit |
Definition at line 160 of file log_router.h.
|
inlineoverridevirtual |
Get the name of this filter.
Implements kcenon::logger::log_filter_interface.
Definition at line 168 of file log_router.h.
|
inlineoverridevirtual |
Check if a log entry should be processed.
| entry | The log entry to check |
Implements kcenon::logger::log_filter_interface.
Definition at line 162 of file log_router.h.
References kcenon::logger::log_entry::message, and pattern_.
|
private |
Definition at line 158 of file log_router.h.
Referenced by should_log().