![]() |
boost::log::filters::attr
// In header: <boost/log/filters/attr.hpp> template<typename AttributeValueTypesT, typename CharT> implementation_defined attr(const CharT * name, std::nothrow_t const &);
The function generates an attribute placeholder in filter expressions. The filter will not throw if the attribute value is not found in the record being filtered. Instead, a negative result will be returned.
Parameters: |
|
||
Returns: | An object that will, upon applying a corresponding operation to it, construct the filter. |