0.2.0
|
Distribution sink (mux) with filter option. More...
Public Member Functions | |
dist_filter_sink (const dist_filter_sink &)=delete | |
Copy constructor. | |
dist_filter_sink (const std::string &filter) | |
Default constructor. | |
dist_filter_sink (dist_filter_sink &&) noexcept=default | |
Move constructor. | |
dist_filter_sink & | operator= (const dist_filter_sink &)=delete |
Copy assignment operator. | |
dist_filter_sink & | operator= (dist_filter_sink &&) noexcept=default |
Move assignment operator. | |
~dist_filter_sink () override=default | |
Destructor. | |
Protected Member Functions | |
void | sink_it_ (const spdlog::details::log_msg &msg) override |
Function called to process the log message. | |
Protected Attributes | |
std::regex | filter_ |
String to filter messages for. | |
Distribution sink (mux) with filter option.
|
inlineexplicit |
Default constructor.
[in] | filter | Filter string |
|
inlineoverrideprotected |
Function called to process the log message.
msg | Log message struct |