Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Function template add_value

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);