Boost C++ Libraries

PrevUpHomeNext

Global xml_dec

boost::log::formatters::xml_dec

Synopsis

// In header: <boost/log/formatters/xml_decorator.hpp>

implementation_defined xml_dec;

Description

XML-style decorator generator object. The decorator replaces characters that have special meaning in XML documents with the corresponding decorated counterparts. The generator provides operator[] that can be used to construct the actual decorator. For example:

xml_dec[ attr< std::string >("MyAttr") ]


PrevUpHomeNext