...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::register_filter_factory
// In header: <boost/log/utility/setup/filter_parser.hpp> template<typename FactoryT> boost::enable_if_c< is_base_and_derived< filter_factory< typename FactoryT::char_type >, FactoryT >::value >::type register_filter_factory(attribute_name const & name, shared_ptr< FactoryT > const & factory);
The function registers a filter factory object for the specified attribute name. The factory will be used to construct a filter during parsing the filter string.
Parameters: |
|
||||
Requires: |
|