Boost C++ Libraries

PrevUpHomeNext

Function template attr

boost::log::filters::attr

Synopsis

// In header: <boost/log/filters/attr.hpp>


template<typename AttributeValueTypesT, typename CharT> 
  implementation_defined attr(std::basic_string< CharT > const & name);

Description

The function generates an attribute placeholder in filter expressions

Parameters:
name

Attribute name.

Returns:

An object that will, upon applying a corresponding operation to it, construct the filter.


PrevUpHomeNext