...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::add_value — The function creates a manipulator that attaches an attribute value to a log record.
// In header: <boost/log/utility/manipulators/add_value.hpp> template<typename T> add_value_manip< T && > add_value(attribute_name const & name, T && value); template<typename DescriptorT, template< typename > class ActorT> add_value_manip< typename DescriptorT::value_type && > add_value(expressions::attribute_keyword< DescriptorT, ActorT > const &, typename DescriptorT::value_type && value); template<typename DescriptorT, template< typename > class ActorT> add_value_manip< typename DescriptorT::value_type & > add_value(expressions::attribute_keyword< DescriptorT, ActorT > const &, typename DescriptorT::value_type & value); template<typename DescriptorT, template< typename > class ActorT> add_value_manip< typename DescriptorT::value_type const & > add_value(expressions::attribute_keyword< DescriptorT, ActorT > const &, typename DescriptorT::value_type const & value);