Boost C++ Libraries

PrevUpHomeNext

Header <boost/log/sinks/attribute_mapping.hpp>

Andrey Semashev

07.11.2008

The header contains facilities that are used in different sinks to map attribute values used throughout the application to values used with the specific native logging API. These tools are mostly needed to map application severity levels on native levels, required by OS-specific sink backends.

namespace boost {
  namespace log {
    namespace sinks {
      template<typename CharT, typename MappedT> struct basic_mapping;

      template<typename CharT, typename MappedT, 
               typename AttributeValueT = int> 
        class basic_direct_mapping;
      template<typename CharT, typename MappedT, 
               typename AttributeValueT = int> 
        class basic_custom_mapping;
    }
  }
}

PrevUpHomeNext