boost::log::sinks::syslog::basic_custom_severity_mapping — Customizable severity level mapping.
// In header: <boost/log/sinks/syslog_backend.hpp> template<typename CharT, typename AttributeValueT = int> class basic_custom_severity_mapping : public basic_custom_mapping< CharT, level_t, AttributeValueT > { public: // types typedef base_type::string_type string_type; // String type. // construct/copy/destruct explicit basic_custom_severity_mapping(string_type const &); };